diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-11-07 13:46:37 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-11-07 14:01:10 +0100 |
commit | 4e96a9d9f7357958479d17922ec95729bf58fd5f (patch) | |
tree | 2db29cc69d9b350e2ba6873cf58a5a325669770e /pkgs/development/libraries/gcab | |
parent | f2ecbaa6cfe35bc1cebed8a9f3df513cdbc47836 (diff) |
gcab: clean up
* format with nixpkgs-fmt * remove UTF-8 locale hack, since now we have C.UTF-8 * add description, fix homepage, correct license * split to multiple outputs
Diffstat (limited to 'pkgs/development/libraries/gcab')
-rw-r--r-- | pkgs/development/libraries/gcab/default.nix | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/pkgs/development/libraries/gcab/default.nix b/pkgs/development/libraries/gcab/default.nix index ee5988b30f577..bc8cb72f21ce6 100644 --- a/pkgs/development/libraries/gcab/default.nix +++ b/pkgs/development/libraries/gcab/default.nix @@ -1,21 +1,42 @@ -{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig -, meson, ninja, glibcLocales, git, vala, glib, zlib, gnome3 +{ stdenv +, fetchurl +, gettext +, gobject-introspection +, pkgconfig +, meson +, ninja +, git +, vala +, glib +, zlib +, gnome3 }: stdenv.mkDerivation rec { pname = "gcab"; version = "1.2"; - LC_ALL = "en_US.UTF-8"; + outputs = [ "bin" "out" "dev" ]; 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 ]; + nativeBuildInputs = [ + meson + ninja + git + pkgconfig + vala + gettext + gobject-introspection + ]; - buildInputs = [ glib zlib ]; + buildInputs = [ + glib + zlib + ]; mesonFlags = [ "-Ddocs=false" @@ -30,9 +51,10 @@ stdenv.mkDerivation rec { }; meta = with stdenv.lib; { + description = "GObject library to create cabinet files"; + homepage = "https://gitlab.gnome.org/GNOME/gcab"; + license = licenses.lgpl21Plus; + maintainers = gnome3.maintainers; platforms = platforms.linux; - license = licenses.lgpl21; - homepage = "https://wiki.gnome.org/msitools"; - maintainers = [ maintainers.lethalman ]; }; } |