summary refs log tree commit diff
path: root/pkgs/development/libraries/gcab/default.nix
blob: 0758d125227499fac805541d40a14d9301772b40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };

}