1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, editline }:
2
3stdenv.mkDerivation rec {
4 pname = "jush";
5 version = "0.1";
6
7 src = fetchFromGitHub {
8 owner = "troglobit";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
12 };
13
14 strictDeps = true;
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
16
17 buildInputs = [ editline ];
18
19 passthru.shellPath = "/bin/jush";
20
21 meta = with lib; {
22 description = "just a useless shell";
23 homepage = "https://github.com/troglobit/jush";
24 license = licenses.isc;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ dtzWill ];
27 };
28}