From 3c13d77713b92a03590ae5f4f6d7dffbb57e6051 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 30 Apr 2019 23:40:28 -0500 Subject: [PATCH] jush: init at 0.1 --- pkgs/shells/jush/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/shells/jush/default.nix 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 904fc2a01a7b..676b771072fa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6831,6 +6831,8 @@ in ion = callPackage ../shells/ion { }; + jush = callPackage ../shells/jush { }; + ksh = callPackage ../shells/ksh { }; mksh = callPackage ../shells/mksh { };