at 24.11-pre 30 lines 779 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "nsh"; 5 version = "0.4.2"; 6 7 src = fetchFromGitHub { 8 owner = "nuta"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1479wv8h5l2b0cwp27vpybq50nyvszhjxmn76n2bz3fchr0lrcbp"; 12 }; 13 14 cargoSha256 = "1kxjr4ymns95g6jz94107nqmd71m2xh8k19gcsy08650gjrn5cz3"; 15 16 doCheck = false; 17 18 meta = with lib; { 19 description = "A command-line shell like fish, but POSIX compatible"; 20 mainProgram = "nsh"; 21 homepage = "https://github.com/nuta/nsh"; 22 changelog = "https://github.com/nuta/nsh/raw/v${version}/docs/changelog.md"; 23 license = [ licenses.cc0 /* or */ licenses.mit ]; 24 maintainers = with maintainers; [ cafkafk ]; 25 }; 26 27 passthru = { 28 shellPath = "/bin/nsh"; 29 }; 30}