pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user