mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
xh: add updateScript
This commit is contained in:
parent
e13c1026dc
commit
66516a0bf5
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
openssl,
|
openssl,
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
|
@ -63,6 +64,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
versionCheckProgramArg = "--version";
|
versionCheckProgramArg = "--version";
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Friendly and fast tool for sending HTTP requests";
|
description = "Friendly and fast tool for sending HTTP requests";
|
||||||
homepage = "https://github.com/ducaale/xh";
|
homepage = "https://github.com/ducaale/xh";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue