2018-11-26 20:21:50 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-10-17 09:59:13 +01:00
|
|
|
, fetchpatch
|
2018-11-26 20:21:50 +00:00
|
|
|
, matchpy
|
|
|
|
, numpy
|
|
|
|
, astunparse
|
|
|
|
, typing-extensions
|
|
|
|
, black
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, numba
|
|
|
|
, nbval
|
|
|
|
, python
|
|
|
|
, isPy37
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uarray";
|
2020-06-06 07:47:35 +01:00
|
|
|
version = "0.6.0";
|
2018-11-26 20:21:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:35 +01:00
|
|
|
sha256 = "fa63ae7034833a99bc1628d3cd5501d4d00f2e6437b6cbe73f710dcf212a6bea";
|
2018-11-26 20:21:50 +00:00
|
|
|
};
|
|
|
|
|
2019-10-17 09:59:13 +01:00
|
|
|
doCheck = false; # currently has circular dependency module import, remove when bumping to >0.5.1
|
2018-11-26 20:21:50 +00:00
|
|
|
checkInputs = [ pytest nbval pytestcov numba ];
|
|
|
|
propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions black ];
|
|
|
|
|
2019-10-17 09:59:13 +01:00
|
|
|
pythonImportsCheck = [ "uarray" ];
|
2018-11-26 20:21:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Universal array library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Quansight-Labs/uarray";
|
2018-11-26 20:21:50 +00:00
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|