pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, glib, meson, ninja, pkg-config, gettext
|
||||
{ lib, stdenv, fetchurl, glib, meson, ninja, pkg-config, gettext
|
||||
, gobject-introspection, fixDarwinDylibNames, gnome3
|
||||
}:
|
||||
|
||||
@@ -9,13 +9,13 @@ in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection glib ]
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user