Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
795 B
Nix
38 lines
795 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nsh";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nuta";
|
|
repo = "nsh";
|
|
rev = "v${version}";
|
|
sha256 = "1479wv8h5l2b0cwp27vpybq50nyvszhjxmn76n2bz3fchr0lrcbp";
|
|
};
|
|
|
|
cargoHash = "sha256-kbHNFVu5OIg/eKefhsYRGvlXFduB0aBVflPV9hkM4Ec=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Command-line shell like fish, but POSIX compatible";
|
|
mainProgram = "nsh";
|
|
homepage = "https://github.com/nuta/nsh";
|
|
changelog = "https://github.com/nuta/nsh/raw/v${version}/docs/changelog.md";
|
|
license = [
|
|
lib.licenses.cc0 # or
|
|
lib.licenses.mit
|
|
];
|
|
maintainers = with lib.maintainers; [ cafkafk ];
|
|
};
|
|
|
|
passthru = {
|
|
shellPath = "/bin/nsh";
|
|
};
|
|
}
|