pinact: format and add updateScript (#353998)

This commit is contained in:
kirillrdy 2024-12-02 18:40:15 +11:00 committed by GitHub
commit 89ea1d479f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = [