3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gcab/default.nix

32 lines
721 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig
2018-08-20 00:00:25 +01:00
, meson, ninja, glibcLocales, git, vala, glib, zlib
}:
2015-04-10 16:02:57 +01:00
stdenv.mkDerivation rec {
2016-09-19 00:38:48 +01:00
name = "gcab-${version}";
version = "1.2";
2018-02-09 20:58:56 +00:00
LC_ALL = "en_US.UTF-8";
2015-04-10 16:02:57 +01:00
src = fetchurl {
2016-09-19 00:38:48 +01:00
url = "mirror://gnome/sources/gcab/${version}/${name}.tar.xz";
sha256 = "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas";
2015-04-10 16:02:57 +01:00
};
nativeBuildInputs = [ meson ninja glibcLocales git pkgconfig vala gettext gobject-introspection ];
2018-02-09 20:58:56 +00:00
buildInputs = [ glib zlib ];
mesonFlags = [
"-Ddocs=false"
"-Dtests=false"
];
2015-04-10 16:02:57 +01:00
meta = with stdenv.lib; {
platforms = platforms.linux;
2018-08-20 00:00:25 +01:00
license = licenses.lgpl21;
2015-04-10 16:02:57 +01:00
maintainers = [ maintainers.lethalman ];
};
}