1{ lib
2, buildPythonPackage
3, fetchPypi
4, fetchpatch
5, matchpy
6, numpy
7, astunparse
8, typing-extensions
9, black
10, pytest
11, pytestcov
12, numba
13, nbval
14, python
15, isPy37
16}:
17
18buildPythonPackage rec {
19 pname = "uarray";
20 version = "0.6.0";
21
22 src = fetchPypi {
23 inherit pname version;
24 sha256 = "fa63ae7034833a99bc1628d3cd5501d4d00f2e6437b6cbe73f710dcf212a6bea";
25 };
26
27 doCheck = false; # currently has circular dependency module import, remove when bumping to >0.5.1
28 checkInputs = [ pytest nbval pytestcov numba ];
29 propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions black ];
30
31 pythonImportsCheck = [ "uarray" ];
32
33 meta = with lib; {
34 description = "Universal array library";
35 homepage = "https://github.com/Quansight-Labs/uarray";
36 license = licenses.bsd0;
37 maintainers = [ maintainers.costrouc ];
38 };
39}