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.
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, cairo
|
|
, libarchive, freetype, libjpeg, libtiff, gnome3, lcms2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libgxps";
|
|
version = "0.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ];
|
|
buildInputs = [ glib cairo freetype libjpeg libtiff lcms2 ];
|
|
propagatedBuildInputs = [ libarchive ];
|
|
|
|
mesonFlags = [
|
|
"-Denable-test=false"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A GObject based library for handling and rendering XPS documents";
|
|
homepage = "https://wiki.gnome.org/Projects/libgxps";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|