pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
stdenv.mkDerivation rec {
pname = "swig";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
homepage = "http://swig.org/";
# Different types of licenses available: http://www.swig.org/Release/LICENSE .

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
stdenv.mkDerivation rec {
pname = "swig";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An interface compiler that connects C/C++ code to higher-level languages";
homepage = "http://swig.org/";
# Different types of licenses available: http://www.swig.org/Release/LICENSE .

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
stdenv.mkDerivation rec {
pname = "swig";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
homepage = "http://swig.org/";
# Different types of licenses available: http://www.swig.org/Release/LICENSE .

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, boost, tcl }:
{ lib, stdenv, fetchurl, boost, tcl }:
stdenv.mkDerivation rec {
pname = "swig";
@@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.isCygwin;
# 'make check' uses boost and tcl
buildInputs = stdenv.lib.optionals doCheck [ boost tcl ];
buildInputs = lib.optionals doCheck [ boost tcl ];
configureFlags = [ "--disable-ccache" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
homepage = "http://swig.org/";
# Different types of licenses available: http://www.swig.org/Release/LICENSE .