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, ncurses }:
|
||||
{ lib, stdenv, fetchurl, ncurses }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "readline-5.2";
|
||||
@@ -10,9 +10,9 @@ stdenv.mkDerivation {
|
||||
|
||||
propagatedBuildInputs = [ncurses];
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
||||
patches = lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
branch = "5";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
{ fetchurl, lib, stdenv, ncurses
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
@@ -47,11 +47,11 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
homepage = "https://savannah.gnu.org/projects/readline/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
branch = "6.2";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses }:
|
||||
{ fetchurl, lib, stdenv, ncurses }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "readline-6.3p08";
|
||||
@@ -14,14 +14,14 @@ stdenv.mkDerivation {
|
||||
|
||||
patchFlags = [ "-p0" ];
|
||||
|
||||
configureFlags = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
configureFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
# This test requires running host code
|
||||
"bash_cv_wcwidth_broken=no";
|
||||
|
||||
patches =
|
||||
[ ./link-against-ncurses.patch
|
||||
./no-arch_only-6.3.patch
|
||||
] ++ stdenv.lib.optional stdenv.hostPlatform.useAndroidPrebuilt ./android.patch
|
||||
] ++ lib.optional stdenv.hostPlatform.useAndroidPrebuilt ./android.patch
|
||||
++
|
||||
(let
|
||||
patch = nr: sha256:
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
in
|
||||
import ./readline-6.3-patches.nix patch);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Library for interactive line editing";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
{ fetchurl, lib, stdenv, ncurses
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ upstreamPatches;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Library for interactive line editing";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
{ fetchurl, lib, stdenv, ncurses
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ upstreamPatches;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Library for interactive line editing";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user