mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
json-glib: 1.4.2 → 1.4.4
This commit is contained in:
parent
f6ad14a50e
commit
21505290ee
@ -1,30 +1,22 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
|
{ stdenv, fetchurl, glib, meson, ninja, pkgconfig, gettext
|
||||||
, gobjectIntrospection, fixDarwinDylibNames, gnome3
|
, gobjectIntrospection, fixDarwinDylibNames, gnome3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "json-glib";
|
pname = "json-glib";
|
||||||
version = "1.4.2";
|
version = "1.4.4";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8";
|
sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://gitlab.gnome.org/GNOME/json-glib/issues/27
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/json-glib/merge_requests/2.diff";
|
|
||||||
sha256 = "0pf006jxj1ki7a0w4ykxm6b24m0wafrhpdcmixsw9x83m227156c";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user