nh: 4.1.2 -> 4.2.0
This commit is contained in:
@@ -6,25 +6,23 @@
|
||||
makeBinaryWrapper,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
nvd,
|
||||
nix-output-monitor,
|
||||
buildPackages,
|
||||
}:
|
||||
let
|
||||
runtimeDeps = [
|
||||
nvd
|
||||
nix-output-monitor
|
||||
];
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "nh";
|
||||
version = "4.1.2";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "nh";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-v02NsZ589zzPq5xsCxyrG1/ZkFbbMkUthly50QdmYKo=";
|
||||
hash = "sha256-6n5SVO8zsdVTD691lri7ZcO4zpqYFU8GIvjI6dbxkA8=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -46,6 +44,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
done
|
||||
|
||||
installShellCompletion completions/*
|
||||
|
||||
cargo xtask man --out-dir gen
|
||||
installManPage gen/nh.1
|
||||
''
|
||||
);
|
||||
|
||||
@@ -54,7 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
--prefix PATH : ${lib.makeBinPath runtimeDeps}
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-R2S0gbT3DD/Dtx8edqhD0fpDqe8AJgyLmlPoNEKm4BA=";
|
||||
cargoHash = "sha256-cxZsePgraYevuYQSi3hTU2EsiDyn1epSIcvGi183fIU=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user