2021-01-17 03:15:29 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, editline }:
|
2019-05-01 06:40:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jush";
|
|
|
|
version = "0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "troglobit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
|
|
|
|
};
|
|
|
|
|
2022-05-06 20:39:28 +02:00
|
|
|
strictDeps = true;
|
2021-01-17 03:15:29 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-05-01 06:40:28 +02:00
|
|
|
|
|
|
|
buildInputs = [ editline ];
|
|
|
|
|
|
|
|
passthru.shellPath = "/bin/jush";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-01 06:40:28 +02:00
|
|
|
description = "just a useless shell";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "jush";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/troglobit/jush";
|
2019-05-01 06:40:28 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|