depot/third_party/nixpkgs/pkgs/shells/nix-your-shell/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

28 lines
744 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "nix-your-shell";
version = "1.3.0";
src = fetchFromGitHub {
owner = "MercuryTechnologies";
repo = pname;
rev = "v${version}";
sha256 = "sha256-5zHjz0NOKcZCuR6QaLrwOXih3Xoqf2uBrJnxTX/TQok=";
};
cargoSha256 = "sha256-4Z/z4VgnJQd8Uc0tMDnx7sChzXtG5ZDL88jTlhPSonM=";
meta = with lib; {
mainProgram = "nix-your-shell";
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 { };
}