about summary refs log tree commit diff
path: root/nixpkgs/pkgs/shells/jush/default.nix
blob: 42e8e13cceae6b9291de07caa029b6578eaba1f1 (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
28
29
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, editline }:

stdenv.mkDerivation rec {
  pname = "jush";
  version = "0.1";

  src = fetchFromGitHub {
    owner = "troglobit";
    repo = pname;
    rev = "v${version}";
    sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
  };

  strictDeps = true;
  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [ editline ];

  passthru.shellPath = "/bin/jush";

  meta = with lib; {
    description = "just a useless shell";
    mainProgram = "jush";
    homepage = "https://github.com/troglobit/jush";
    license = licenses.isc;
    platforms = platforms.all;
    maintainers = with maintainers; [ dtzWill ];
  };
}