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

This commit is contained in:
Ben Siraphob
2021-01-22 00:00:13 +07:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions

View File

@@ -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";

View File

@@ -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";