pkgs/development/python-modules: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-24 01:29:22 +01:00
parent 2f34b4b883
commit a4bbfba80d
211 changed files with 525 additions and 546 deletions

View File

@@ -1,4 +1,5 @@
{ stdenv
{ lib
, stdenv
, pythonOlder
, fetchPypi
, python
@@ -23,10 +24,10 @@ buildPythonPackage rec {
sha256 = "16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
propagatedBuildInputs = [numpy llvmlite]
++ stdenv.lib.optionals isPy27 [ funcsigs singledispatch];
++ lib.optionals isPy27 [ funcsigs singledispatch];
# Copy test script into $out and run the test suite.
checkPhase = ''
@@ -35,10 +36,10 @@ buildPythonPackage rec {
# ImportError: cannot import name '_typeconv'
doCheck = false;
meta = {
meta = with lib; {
homepage = "http://numba.pydata.org/";
license = stdenv.lib.licenses.bsd2;
license = licenses.bsd2;
description = "Compiling Python code using LLVM";
maintainers = with stdenv.lib.maintainers; [ fridh ];
maintainers = with maintainers; [ fridh ];
};
}