2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig
|
2019-04-25 06:46:07 +00:00
|
|
|
, meson, ninja, glibcLocales, git, vala, glib, zlib, gnome3
|
2018-08-19 23:00:25 +00:00
|
|
|
}:
|
2015-04-10 15:02:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 06:46:07 +00:00
|
|
|
pname = "gcab";
|
2018-12-16 08:07:56 +00:00
|
|
|
version = "1.2";
|
2018-02-09 20:58:56 +00:00
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
2015-04-10 15:02:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-25 06:46:07 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-16 08:07:56 +00:00
|
|
|
sha256 = "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas";
|
2015-04-10 15:02:57 +00:00
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00: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 15:02:57 +00:00
|
|
|
|
2019-04-25 06:46:07 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-04-10 15:02:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
2018-08-19 23:00:25 +00:00
|
|
|
license = licenses.lgpl21;
|
2019-05-04 13:59:55 +00:00
|
|
|
homepage = "https://wiki.gnome.org/msitools";
|
2015-04-10 15:02:57 +00:00
|
|
|
maintainers = [ maintainers.lethalman ];
|
|
|
|
};
|
|
|
|
}
|