librepo: use finalAttrs, cleanup
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
parent
305e7b0bde
commit
26cad0975a
@ -17,7 +17,7 @@
|
|||||||
doxygen,
|
doxygen,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "1.20.0";
|
version = "1.20.0";
|
||||||
pname = "librepo";
|
pname = "librepo";
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rpm-software-management";
|
owner = "rpm-software-management";
|
||||||
repo = "librepo";
|
repo = "librepo";
|
||||||
tag = version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-KYBHImdGQgf/IZ5FMhzrbBTeZF76AIP3RjVPT3w0oT8=";
|
hash = "sha256-KYBHImdGQgf/IZ5FMhzrbBTeZF76AIP3RjVPT3w0oT8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -67,11 +67,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Library providing C and Python (libcURL like) API for downloading linux repository metadata and packages";
|
description = "Library providing C and Python (libcURL like) API for downloading linux repository metadata and packages";
|
||||||
homepage = "https://rpm-software-management.github.io/librepo/";
|
homepage = "https://rpm-software-management.github.io/librepo/";
|
||||||
license = licenses.lgpl2Plus;
|
changelog = "https://github.com/rpm-software-management/dnf5/releases/tag/${finalAttrs.version}";
|
||||||
platforms = platforms.linux;
|
license = lib.licenses.lgpl2Plus;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user