summary refs log tree commit diff
path: root/pkgs/shells/jush/default.nix
blob: 9894c90bb69e2cbb33381eb08af5dba4fe01dfb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ];
  };
}