mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 17:07:34 +00:00
pinact: format and add updateScript (#353998)
This commit is contained in:
commit
89ea1d479f
@ -1,8 +1,10 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, testers
|
||||
, pinact
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
testers,
|
||||
nix-update-script,
|
||||
pinact,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -22,10 +24,12 @@ buildGoModule {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = pinact;
|
||||
command = "pinact --version";
|
||||
version = src.rev;
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = pinact;
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
|
Loading…
Reference in New Issue
Block a user