blob: f4e7d38ecb842e055d38fe82112720986cd257c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ buildPythonPackage, fetchPypi, lib, numpy, pytest_4 }:
buildPythonPackage rec {
version = "3.0.1";
pname = "opt_einsum";
src = fetchPypi {
inherit version pname;
sha256 = "1agyvq26x0zd6j3wzgczl4apx8v7cb9w1z50azn8c3pq9jphgfla";
};
propagatedBuildInputs = [ numpy ];
checkInputs = [ pytest_4 ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Optimizing NumPy's einsum function with order optimization and GPU support.";
homepage = http://optimized-einsum.readthedocs.io;
license = licenses.mit;
maintainers = with maintainers; [ teh ];
};
}
|