9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
860 B
Nix
28 lines
860 B
Nix
{ fetchFromGitHub, stdenv, autoreconfHook, pkg-config, libxml2, gd, glib, getopt, libxslt, nix }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libnixxml";
|
|
src = fetchFromGitHub {
|
|
owner = "svanderburg";
|
|
repo = "libnixxml";
|
|
rev = "54c04a5fdbc8661b2445a7527f499e0a77753a1a";
|
|
sha256 = "sha256-HKQnCkO1TDs1e0MDil0Roq4YRembqRHQvb7lK3GAftQ=";
|
|
};
|
|
configureFlags = [ "--with-gd" "--with-glib" ];
|
|
CFLAGS = "-Wall";
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ pkg-config libxml2 gd.dev glib getopt libxslt nix ];
|
|
doCheck = false;
|
|
postPatch = ''
|
|
./bootstrap
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "XML-based Nix-friendly data integration library";
|
|
homepage = https://github.com/svanderburg/libnixxml;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ tomberek ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|