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