Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / shells / nix-your-shell / default.nix
blob35f63309f20f4bb330ea38388dd3e7a4aab36789
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , nix-update-script
5 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "nix-your-shell";
8   version = "1.4.5";
10   src = fetchFromGitHub {
11     owner = "MercuryTechnologies";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-gjOvAy15y4WJ4LMmiF17nuY6aAsC1V7/zZ+nt+xDh24=";
15   };
17   cargoHash = "sha256-EyE/Sv8cY/e8uf4b/7M3kJhd/l+dZS62np58xICF77U=";
19   meta = with lib; {
20     mainProgram = "nix-your-shell";
21     description = "`nix` and `nix-shell` wrapper for shells other than `bash`";
22     homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
23     license = [ licenses.mit ];
24     maintainers = [ maintainers._9999years ];
25   };
27   passthru.updateScript = nix-update-script { };