mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
738 B
Nix
28 lines
738 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nix-your-shell";
|
|
version = "1.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MercuryTechnologies";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-gjOvAy15y4WJ4LMmiF17nuY6aAsC1V7/zZ+nt+xDh24=";
|
|
};
|
|
|
|
cargoHash = "sha256-EyE/Sv8cY/e8uf4b/7M3kJhd/l+dZS62np58xICF77U=";
|
|
|
|
meta = with lib; {
|
|
mainProgram = "nix-your-shell";
|
|
description = "`nix` and `nix-shell` wrapper for shells other than `bash`";
|
|
homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
|
|
license = [ licenses.mit ];
|
|
maintainers = [ maintainers._9999years ];
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
}
|