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, bash, perl }:
|
||||
{ lib, stdenv, fetchurl, bash, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gecode";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "patchShebangs configure";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
homepage = "https://www.gecode.org";
|
||||
description = "Toolkit for developing constraint-based systems";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
||||
{ lib, stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gecode";
|
||||
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [ perl gmp mpfr ]
|
||||
++ stdenv.lib.optional enableGist qtbase;
|
||||
++ lib.optional enableGist qtbase;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
homepage = "https://www.gecode.org";
|
||||
description = "Toolkit for developing constraint-based systems";
|
||||
|
||||
Reference in New Issue
Block a user