Skip to content

Commit 8eb4178

Browse files
mjoergbjornfor
authored andcommitted
lcov: cleanup
1 parent 87b8b72 commit 8eb4178

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkgs/by-name/lc/lcov/package.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ let
1919
perlPackages.PathTools
2020
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ perlPackages.MemoryProcess ];
2121
in
22-
stdenv.mkDerivation rec {
22+
stdenv.mkDerivation (finalAttrs: {
2323
pname = "lcov";
2424
version = "2.3.1";
2525

2626
src = fetchFromGitHub {
2727
owner = "linux-test-project";
2828
repo = "lcov";
29-
rev = "v${version}";
29+
tag = "v${finalAttrs.version}";
3030
hash = "sha256-31318or9AQ7iyu9DNQEvf5jaDzrneOOqOXu0HF1eag4=";
3131
};
3232

@@ -67,9 +67,10 @@ stdenv.mkDerivation rec {
6767
'';
6868

6969
homepage = "https://github.com/linux-test-project/lcov";
70+
changelog = "https://github.com/linux-test-project/lcov/releases/tag/v${finalAttrs.version}";
7071
license = lib.licenses.gpl2Plus;
7172

7273
maintainers = with lib.maintainers; [ dezgeg ];
7374
platforms = lib.platforms.all;
7475
};
75-
}
76+
})

0 commit comments

Comments
 (0)