nixpkgs/pkgs/by-name/ni/nix-your-shell/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
858 B
Nix
Raw Normal View History

{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "nix-your-shell";
2024-09-26 13:26:19 +01:00
version = "1.4.6";
src = fetchFromGitHub {
owner = "MercuryTechnologies";
2024-09-27 02:06:37 +01:00
repo = "nix-your-shell";
rev = "v${version}";
2024-09-26 13:26:19 +01:00
hash = "sha256-FjGjLq/4qeZz9foA7pfz1hiXvsdmbnzB3BpiTESLE1c=";
};
2024-09-26 13:26:19 +01:00
cargoHash = "sha256-2NgN2/dr48ogkcjOq6UE4jDQBeewceWzdpRlXqi744s=";
2024-09-27 02:06:37 +01:00
meta = {
2023-10-13 14:33:13 +01:00
mainProgram = "nix-your-shell";
description = "`nix` and `nix-shell` wrapper for shells other than `bash`";
homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
2024-09-27 02:06:37 +01:00
changelog = "https://github.com/MercuryTechnologies/nix-your-shell/releases/tags/v${version}";
license = [ lib.licenses.mit ];
maintainers = with lib.maintainers; [ _9999years ];
};
passthru.updateScript = nix-update-script { };
}