depot/third_party/nixpkgs/pkgs/shells/nix-your-shell/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

27 lines
708 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "nix-your-shell";
version = "1.1.1";
src = fetchFromGitHub {
owner = "MercuryTechnologies";
repo = pname;
rev = "v${version}";
sha256 = "sha256-g5TC+4DGbTAlG39R8QIM5cB3/mtkp/vz8puB0Kr6aag=";
};
cargoSha256 = "sha256-AiWKSWwMh6KWCTTRRCBxekv2rukz+ijnRit11K/AnhU=";
meta = with lib; {
description = "A `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 { };
}