mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
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.
36 lines
918 B
Nix
36 lines
918 B
Nix
{stdenv, lib, fetchurl, ocaml, findlib, gdome2, libxslt, pkg-config}:
|
|
|
|
let
|
|
pname = "gmetadom";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
version = "0.2.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
|
|
};
|
|
|
|
patches = [ ./gcc-4.3.patch ];
|
|
|
|
dontDisableStatic = true;
|
|
|
|
preConfigure=''
|
|
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
|
|
'';
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ocaml findlib gdome2 libxslt];
|
|
propagatedBuildInputs = [gdome2];
|
|
|
|
meta = {
|
|
homepage = "http://gmetadom.sourceforge.net/";
|
|
description = "A collection of librares, each library providing a DOM implementation";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = [ lib.maintainers.roconnor ];
|
|
};
|
|
}
|