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

61 lines
1 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, gettext
, gobject-introspection
, pkgconfig
, meson
, ninja
, git
, vala
, glib
, zlib
, gnome3
2018-08-20 00:00:25 +01:00
}:
2015-04-10 16:02:57 +01:00
stdenv.mkDerivation rec {
pname = "gcab";
version = "1.2";
2018-02-09 20:58:56 +00:00
outputs = [ "bin" "out" "dev" ];
2015-04-10 16:02:57 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas";
2015-04-10 16:02:57 +01:00
};
nativeBuildInputs = [
meson
ninja
git
pkgconfig
vala
gettext
gobject-introspection
];
2018-02-09 20:58:56 +00:00
buildInputs = [
glib
zlib
];
2018-02-09 20:58:56 +00:00
mesonFlags = [
"-Ddocs=false"
"-Dtests=false"
];
2015-04-10 16:02:57 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
2015-04-10 16:02:57 +01:00
meta = with stdenv.lib; {
description = "GObject library to create cabinet files";
homepage = "https://gitlab.gnome.org/GNOME/gcab";
license = licenses.lgpl21Plus;
maintainers = gnome3.maintainers;
2015-04-10 16:02:57 +01:00
platforms = platforms.linux;
};
}