mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
29 lines
687 B
Nix
29 lines
687 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;
|
|
maintainers = [ maintainers.lethalman ];
|
|
};
|
|
|
|
}
|