pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, python
|
||||
@@ -21,7 +22,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ llvm ];
|
||||
propagatedBuildInputs = [ ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
|
||||
propagatedBuildInputs = [ ] ++ lib.optional (pythonOlder "3.4") enum34;
|
||||
|
||||
# Disable static linking
|
||||
# https://github.com/numba/llvmlite/issues/93
|
||||
@@ -38,14 +39,14 @@ buildPythonPackage rec {
|
||||
${python.executable} runtests.py
|
||||
'';
|
||||
|
||||
__impureHostDeps = stdenv.lib.optionals stdenv.isDarwin [ "/usr/lib/libm.dylib" ];
|
||||
__impureHostDeps = lib.optionals stdenv.isDarwin [ "/usr/lib/libm.dylib" ];
|
||||
|
||||
passthru.llvm = llvm;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A lightweight LLVM python binding for writing JIT compilers";
|
||||
homepage = "http://llvmlite.pydata.org/";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = with stdenv.lib.maintainers; [ fridh ];
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user