mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +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.
30 lines
787 B
Nix
30 lines
787 B
Nix
{ stdenv, fetchFromGitHub, pkg-config
|
|
, freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwmf";
|
|
version = "0.2.12";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "caolanm";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0i2w5hg8mbgmgabxyd48qp1gx2mhk33hgr3jqvg72k0nhkd2jhf6";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "WMF library from wvWare";
|
|
homepage = "http://wvware.sourceforge.net/libwmf.html";
|
|
downloadPage = "https://github.com/caolanm/libwmf/releases";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|