nixpkgs-suyu/pkgs/desktops/gnome-3/core/libgxps/default.nix

26 lines
661 B
Nix
Raw Normal View History

2017-10-03 03:29:08 +02:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobjectIntrospection, cairo
, libarchive, freetype, libjpeg, libtiff
}:
stdenv.mkDerivation rec {
2017-10-03 03:29:08 +02:00
name = "libgxps-0.3.0";
src = fetchurl {
2017-10-03 03:29:08 +02:00
url = "mirror://gnome/sources/libgxps/0.3/${name}.tar.xz";
sha256 = "412b1343bd31fee41f7204c47514d34c563ae34dafa4cc710897366bd6cd0fae";
};
2017-10-03 03:29:08 +02:00
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
buildInputs = [ glib cairo freetype libjpeg libtiff ];
propagatedBuildInputs = [ libarchive ];
2017-10-03 03:29:08 +02:00
mesonFlags = [
"-Denable-test=false"
"-Dwith-liblcms2=false"
];
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}