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
This commit is contained in:
parent
f2ecbaa6cf
commit
4e96a9d9f7
1 changed files with 30 additions and 8 deletions
|
@ -1,21 +1,42 @@
|
||||||
{ stdenv, fetchurl, gettext, gobject-introspection, pkgconfig
|
{ stdenv
|
||||||
, meson, ninja, glibcLocales, git, vala, glib, zlib, gnome3
|
, fetchurl
|
||||||
|
, gettext
|
||||||
|
, gobject-introspection
|
||||||
|
, pkgconfig
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, git
|
||||||
|
, vala
|
||||||
|
, glib
|
||||||
|
, zlib
|
||||||
|
, gnome3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gcab";
|
pname = "gcab";
|
||||||
version = "1.2";
|
version = "1.2";
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas";
|
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 = [
|
mesonFlags = [
|
||||||
"-Ddocs=false"
|
"-Ddocs=false"
|
||||||
|
@ -30,9 +51,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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;
|
platforms = platforms.linux;
|
||||||
license = licenses.lgpl21;
|
|
||||||
homepage = "https://wiki.gnome.org/msitools";
|
|
||||||
maintainers = [ maintainers.lethalman ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue