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