pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkg-config, autoreconfHook, gettext, glib, buildPackages }:
|
||||
{ fetchurl, lib, stdenv, pkg-config, autoreconfHook, gettext, glib, buildPackages }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false; # fails with "permission denied"
|
||||
|
||||
preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
preBuild = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
pushd src
|
||||
make CC=${buildPackages.stdenv.cc}/bin/cc predicates_init
|
||||
mv predicates_init predicates_init_build
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "http://gts.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
description = "GNU Triangulated Surface Library";
|
||||
|
||||
longDescription = ''
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
3D surfaces meshed with interconnected triangles.
|
||||
'';
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
maintainers = [ lib.maintainers.viric ];
|
||||
platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user