1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/gcab/default.nix
2018-08-20 01:00:25 +02:00

32 lines
719 B
Nix

{ stdenv, fetchurl, gettext, gobjectIntrospection, pkgconfig
, meson, ninja, glibcLocales, git, vala, glib, zlib
}:
stdenv.mkDerivation rec {
name = "gcab-${version}";
version = "1.1";
LC_ALL = "en_US.UTF-8";
src = fetchurl {
url = "mirror://gnome/sources/gcab/${version}/${name}.tar.xz";
sha256 = "0l19sr6pg0cfcddmi5n79d08mjjbhn427ip5jlsy9zddq9r24aqr";
};
nativeBuildInputs = [ meson ninja glibcLocales git pkgconfig vala gettext gobjectIntrospection ];
buildInputs = [ glib zlib ];
mesonFlags = [
"-Ddocs=false"
"-Dtests=false"
];
meta = with stdenv.lib; {
platforms = platforms.linux;
license = licenses.lgpl21;
maintainers = [ maintainers.lethalman ];
};
}