nix-your-shell: modernize & cleanup

This commit is contained in:
uncenter 2024-09-26 21:06:37 -04:00
parent 97ad77ba73
commit 0068504cf1
No known key found for this signature in database

View File

@ -10,19 +10,20 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "MercuryTechnologies";
repo = pname;
repo = "nix-your-shell";
rev = "v${version}";
hash = "sha256-FjGjLq/4qeZz9foA7pfz1hiXvsdmbnzB3BpiTESLE1c=";
};
cargoHash = "sha256-2NgN2/dr48ogkcjOq6UE4jDQBeewceWzdpRlXqi744s=";
meta = with lib; {
meta = {
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 ];
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 { };