mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
1b2461f29d
https://github.com/MercuryTechnologies/nix-your-shell/releases/tag/v1.2.0 - Bash support https://github.com/MercuryTechnologies/nix-your-shell/releases/tag/v1.2.1 - Export $__ETC_PROFILE_NIX_SOURCED https://github.com/MercuryTechnologies/nix-your-shell/releases/tag/v1.3.0 - nushell support
28 lines
708 B
Nix
28 lines
708 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; {
|
|
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 { };
|
|
}
|