summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-01-08 12:52:03 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-01-08 14:38:43 +0100
commitdd78f9c24736d0b485abbbe4828b96e19c27f57a (patch)
treed62729c3f0f6c31c474820030322e2f9ff6deab3 /pkgs/shells
parentf8aeca57c7b8933f51b85014276839fe0ad62d39 (diff)
downloadnixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar.gz
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar.bz2
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar.lz
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar.xz
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.tar.zst
nixpkgs-dd78f9c24736d0b485abbbe4828b96e19c27f57a.zip
mrsh: init at 2020-01-08
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/mrsh/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/shells/mrsh/default.nix b/pkgs/shells/mrsh/default.nix
new file mode 100644
index 00000000000..9036e085429
--- /dev/null
+++ b/pkgs/shells/mrsh/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, lib, fetchFromGitHub, meson, ninja, pkgconfig, readline }:
+
+stdenv.mkDerivation rec {
+  pname   = "mrsh";
+  version = "2020-01-08";
+
+  src = fetchFromGitHub {
+    owner = "emersion";
+    repo = "mrsh";
+    rev = "ef21854fc9ce172fb1f7f580b19a89d030d67c65";
+    sha256 = "1iyxmwl61p2x9v9b22416n4lnrlwjqyxybq35x8bcbjxkwypp943";
+  };
+
+  nativeBuildInputs = [ meson ninja pkgconfig ];
+  buildInputs = [ readline ];
+
+  meta = with stdenv.lib; {
+    description = "A minimal POSIX shell";
+    homepage = "https://mrsh.sh";
+    license = licenses.mit;
+    maintainers = with maintainers; [ matthiasbeyer ];
+    platforms = platforms.linux;
+  };
+}