json-glib: 1.4.4 → 1.6.2
- https://gitlab.gnome.org/GNOME/json-glib/-/tags/1.5.2 - https://gitlab.gnome.org/GNOME/json-glib/-/tags/1.6.0 - https://gitlab.gnome.org/GNOME/json-glib/-/tags/1.6.2 gtk-doc is enabled by default so I had to add it plus DocBook files to dependencies. Also added GNOME team to maintainers so that it is not forgotten the next time (lethalman is no longer maintaining GNOME packages). And correct license and clean up the code a bit while at it.master
parent
d9c6f13e13
commit
091dab6fb3
|
@ -1,23 +1,47 @@
|
|||
{ lib, stdenv, fetchurl, glib, meson, ninja, pkg-config, gettext
|
||||
, gobject-introspection, fixDarwinDylibNames, gnome3
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, glib
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, fixDarwinDylibNames
|
||||
, gtk-doc
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_43
|
||||
, gnome3
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "json-glib";
|
||||
version = "1.4.4";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "1.6.2";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection glib ]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gettext
|
||||
gobject-introspection
|
||||
glib
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
fixDarwinDylibNames
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
propagatedBuildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -30,8 +54,8 @@ in stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
|
||||
homepage = "https://wiki.gnome.org/Projects/JsonGlib";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue