Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

skeema: use finalAttrs

+4 -5
+4 -5
pkgs/by-name/sk/skeema/package.nix
··· 4 fetchFromGitHub, 5 coreutils, 6 testers, 7 - skeema, 8 }: 9 10 - buildGoModule rec { 11 pname = "skeema"; 12 version = "1.12.3"; 13 14 src = fetchFromGitHub { 15 owner = "skeema"; 16 repo = "skeema"; 17 - rev = "v${version}"; 18 hash = "sha256-3sxUy/TkacuRN8UDGgrvkdUQi//6VufoYoVFN1+X3BM="; 19 }; 20 ··· 58 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; 59 60 passthru.tests.version = testers.testVersion { 61 - package = skeema; 62 }; 63 64 meta = { ··· 68 maintainers = with lib.maintainers; [ aaronjheng ]; 69 mainProgram = "skeema"; 70 }; 71 - }
··· 4 fetchFromGitHub, 5 coreutils, 6 testers, 7 }: 8 9 + buildGoModule (finalAttrs: { 10 pname = "skeema"; 11 version = "1.12.3"; 12 13 src = fetchFromGitHub { 14 owner = "skeema"; 15 repo = "skeema"; 16 + tag = "v${finalAttrs.version}"; 17 hash = "sha256-3sxUy/TkacuRN8UDGgrvkdUQi//6VufoYoVFN1+X3BM="; 18 }; 19 ··· 57 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; 58 59 passthru.tests.version = testers.testVersion { 60 + package = finalAttrs.finalPackage; 61 }; 62 63 meta = { ··· 67 maintainers = with lib.maintainers; [ aaronjheng ]; 68 mainProgram = "skeema"; 69 }; 70 + })