06fad89bd6
- Update homepage URLs - Add missing meta entries
38 lines
941 B
Nix
38 lines
941 B
Nix
{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig
|
|
, meson, ninja, glibcLocales, git, vala, glib, zlib, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gcab";
|
|
version = "1.2";
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja glibcLocales git pkgconfig vala gettext gobject-introspection ];
|
|
|
|
buildInputs = [ glib zlib ];
|
|
|
|
mesonFlags = [
|
|
"-Ddocs=false"
|
|
"-Dtests=false"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl21;
|
|
homepage = "https://wiki.gnome.org/msitools";
|
|
maintainers = [ maintainers.lethalman ];
|
|
};
|
|
}
|