pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / shells / nsh / default.nix
blobfc7e5667a4f3d719960567c8ee3ffdcc4e078b46
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "nsh";
5   version = "0.4.2";
7   src = fetchFromGitHub {
8     owner = "nuta";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "1479wv8h5l2b0cwp27vpybq50nyvszhjxmn76n2bz3fchr0lrcbp";
12   };
14   cargoHash = "sha256-47Nis3ygGAS8Zi+FiWAXNZxWsT0gkPSleSVpWz3Jss8=";
16   doCheck = false;
18   meta = with lib; {
19     description = "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   };
27   passthru = {
28     shellPath = "/bin/nsh";
29   };