libpkgconf: 2.4.3 -> 2.5.1

This commit is contained in:
commitmaniac
2026-02-22 15:12:00 -05:00
parent 790ad77b58
commit 0bdf7470ff
+17 -7
View File
@@ -2,17 +2,21 @@
lib,
stdenv,
fetchurl,
autoconf,
automake,
libtool,
removeReferencesTo,
gitUpdater,
autoreconfHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pkgconf";
version = "2.4.3";
version = "2.5.1";
src = fetchurl {
url = "https://distfiles.dereferenced.org/pkgconf/pkgconf-${finalAttrs.version}.tar.xz";
hash = "sha256-USA9me1XP6c0S/B8pibxDHzAlOCEasSqACO9DIPCWkE=";
url = "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-${finalAttrs.version}.tar.gz";
hash = "sha256-eXIbrcrRmH3q2cNgnrSHerm1iCHAa9rLgk8siJfBHyo=";
};
outputs = [
@@ -23,7 +27,13 @@ stdenv.mkDerivation (finalAttrs: {
"doc"
];
nativeBuildInputs = [ removeReferencesTo ];
nativeBuildInputs = [
automake
autoconf
libtool
removeReferencesTo
autoreconfHook
];
enableParallelBuilding = true;
@@ -49,12 +59,12 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru.updateScript = gitUpdater {
url = "https://gitea.treehouse.systems/ariadne/pkgconf";
url = "https://github.com/pkgconf/pkgconf";
rev-prefix = "pkgconf-";
};
meta = {
homepage = "https://gitea.treehouse.systems/ariadne/pkgconf";
homepage = "https://github.com/pkgconf/pkgconf";
description = "Package compiler and linker metadata toolkit";
longDescription = ''
pkgconf is a program which helps to configure compiler and linker flags
@@ -65,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
functionality, to allow other tooling such as compilers and IDEs to
discover and use libraries configured by pkgconf.
'';
changelog = "https://gitea.treehouse.systems/ariadne/pkgconf/src/tag/pkgconf-${finalAttrs.version}/NEWS";
changelog = "https://github.com/pkgconf/pkgconf/blob/pkgconf-${finalAttrs.version}/NEWS";
license = lib.licenses.isc;
mainProgram = "pkgconf";
maintainers = with lib.maintainers; [