mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
fw: add nix-update-script
This commit is contained in:
parent
daf9ec3a12
commit
f99a5f5c57
1 changed files with 8 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
libgit2,
|
||||
openssl,
|
||||
zlib,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
|
@ -15,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
src = fetchFromGitHub {
|
||||
owner = "brocode";
|
||||
repo = "fw";
|
||||
rev = "v${finalAttrs.version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tqtiAw4+bnCJMF37SluAE9NM55MAjBGkJTvGLcmYFnA=";
|
||||
};
|
||||
|
||||
|
|
@ -35,6 +37,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
OPENSSL_NO_VENDOR = true;
|
||||
};
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Workspace productivity booster";
|
||||
homepage = "https://github.com/brocode/fw";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue