pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -10,7 +10,7 @@ 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 = "02csvx2nzygh8kyal2qiy3y6xb7d52vszxxr37dzav704a9pkncv";
|
||||
};
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
"--enable-vala"
|
||||
"--enable-installed-tests"
|
||||
"--enable-always-build-tests"
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
|
||||
] ++ lib.optional stdenv.isDarwin "--disable-Bsymbolic";
|
||||
|
||||
makeFlags = [
|
||||
"installed_test_metadir=$(installedTests)/share/installed-tests/RSVG"
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE
|
||||
= stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
|
||||
= lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
|
||||
|
||||
# It wants to add loaders and update the loaders.cache in gdk-pixbuf
|
||||
# Patching the Makefiles to it creates rsvg specific loaders and the
|
||||
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A small library to render SVG images to Cairo surfaces";
|
||||
homepage = "https://wiki.gnome.org/Projects/LibRsvg";
|
||||
license = licenses.lgpl2Plus;
|
||||
|
||||
Reference in New Issue
Block a user