about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-05-02 19:16:54 +0200
committerGitHub <noreply@github.com>2019-05-02 19:16:54 +0200
commit825267426bf6e710fb59907a14193d5bd573fc5a (patch)
tree8c113accf9562ff9e4d440c3a67cf5904e7efd97
parent76fad4511050e36adbcc54b39034a4a082798f13 (diff)
parent3c13d77713b92a03590ae5f4f6d7dffbb57e6051 (diff)
downloadnixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar.gz
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar.bz2
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar.lz
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar.xz
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.tar.zst
nixlib-825267426bf6e710fb59907a14193d5bd573fc5a.zip
Merge pull request #60581 from dtzWill/feature/jush
jush: init at 0.1
-rw-r--r--pkgs/shells/jush/default.nix27
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/shells/jush/default.nix b/pkgs/shells/jush/default.nix
new file mode 100644
index 000000000000..833947a6ddb8
--- /dev/null
+++ b/pkgs/shells/jush/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, editline }:
+
+stdenv.mkDerivation rec {
+  pname = "jush";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "troglobit";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
+
+  buildInputs = [ editline ];
+
+  passthru.shellPath = "/bin/jush";
+
+  meta = with stdenv.lib; {
+    description = "just a useless shell";
+    homepage = https://github.com/troglobit/jush;
+    license = licenses.isc;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ dtzWill ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9a5c403c428d..477d2a7c9f00 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6841,6 +6841,8 @@ in
 
   ion = callPackage ../shells/ion { };
 
+  jush = callPackage ../shells/jush { };
+
   ksh = callPackage ../shells/ksh { };
 
   mksh = callPackage ../shells/mksh { };