skeema: use finalAttrs
This commit is contained in:
@@ -4,17 +4,16 @@
|
||||
fetchFromGitHub,
|
||||
coreutils,
|
||||
testers,
|
||||
skeema,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "skeema";
|
||||
version = "1.12.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skeema";
|
||||
repo = "skeema";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3sxUy/TkacuRN8UDGgrvkdUQi//6VufoYoVFN1+X3BM=";
|
||||
};
|
||||
|
||||
@@ -58,7 +57,7 @@ buildGoModule rec {
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = skeema;
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
meta = {
|
||||
@@ -68,4 +67,4 @@ buildGoModule rec {
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "skeema";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user