diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-22 00:00:13 +0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-01-21 19:11:02 -0800 |
commit | 66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch) | |
tree | 0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/neon | |
parent | 046d24424ef32cca1227519f93f41b5ec8133f31 (diff) | |
download | nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.gz nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.bz2 nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.lz nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.xz nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.zst nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.zip |
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/neon')
-rw-r--r-- | pkgs/development/libraries/neon/0.29.nix | 16 | ||||
-rw-r--r-- | pkgs/development/libraries/neon/default.nix | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/pkgs/development/libraries/neon/0.29.nix b/pkgs/development/libraries/neon/0.29.nix index 89b48221ca8..e0437fb7cea 100644 --- a/pkgs/development/libraries/neon/0.29.nix +++ b/pkgs/development/libraries/neon/0.29.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libxml2, pkg-config, perl +{ lib, stdenv, fetchurl, libxml2, pkg-config, perl , compressionSupport ? true, zlib ? null , sslSupport ? true, openssl ? null , static ? false @@ -10,7 +10,7 @@ assert sslSupport -> openssl != null; assert static || shared; let - inherit (stdenv.lib) optionals; + inherit (lib) optionals; in stdenv.mkDerivation rec { @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [libxml2 openssl] - ++ stdenv.lib.optional compressionSupport zlib; + ++ lib.optional compressionSupport zlib; configureFlags = [ - (stdenv.lib.enableFeature shared "shared") - (stdenv.lib.enableFeature static "static") - (stdenv.lib.withFeature compressionSupport "zlib") - (stdenv.lib.withFeature sslSupport "ssl") + (lib.enableFeature shared "shared") + (lib.enableFeature static "static") + (lib.withFeature compressionSupport "zlib") + (lib.withFeature sslSupport "ssl") ]; passthru = {inherit compressionSupport sslSupport;}; @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { checkInputs = [ perl ]; doCheck = false; # fails, needs the net - meta = with stdenv.lib; { + meta = with lib; { description = "An HTTP and WebDAV client library"; homepage = "http://www.webdav.org/neon/"; platforms = platforms.unix; diff --git a/pkgs/development/libraries/neon/default.nix b/pkgs/development/libraries/neon/default.nix index 935a17d3d78..c0c62deb0ac 100644 --- a/pkgs/development/libraries/neon/default.nix +++ b/pkgs/development/libraries/neon/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libxml2, pkg-config, perl +{ lib, stdenv, fetchurl, libxml2, pkg-config, perl , compressionSupport ? true, zlib ? null , sslSupport ? true, openssl ? null , static ? stdenv.hostPlatform.isStatic @@ -10,7 +10,7 @@ assert sslSupport -> openssl != null; assert static || shared; let - inherit (stdenv.lib) optionals; + inherit (lib) optionals; in stdenv.mkDerivation rec { @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [libxml2 openssl] - ++ stdenv.lib.optional compressionSupport zlib; + ++ lib.optional compressionSupport zlib; configureFlags = [ - (stdenv.lib.enableFeature shared "shared") - (stdenv.lib.enableFeature static "static") - (stdenv.lib.withFeature compressionSupport "zlib") - (stdenv.lib.withFeature sslSupport "ssl") + (lib.enableFeature shared "shared") + (lib.enableFeature static "static") + (lib.withFeature compressionSupport "zlib") + (lib.withFeature sslSupport "ssl") ]; passthru = {inherit compressionSupport sslSupport;}; @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { checkInputs = [ perl ]; doCheck = false; # fails, needs the net - meta = with stdenv.lib; { + meta = with lib; { description = "An HTTP and WebDAV client library"; homepage = "http://www.webdav.org/neon/"; platforms = platforms.unix; |