2019-05-11 13:30:13 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cython
|
|
|
|
, hypothesis
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blis";
|
2020-11-06 06:52:08 +00:00
|
|
|
version = "0.7.2";
|
2019-05-11 13:30:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-06 06:52:08 +00:00
|
|
|
sha256 = "c14fb9ec3f5ed7c4940c132c7691469ac5d3e302891d95e935623bf1d4e17fbb";
|
2019-05-11 13:30:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
2020-08-29 19:53:51 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2019-05-11 13:30:13 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "BLAS-like linear algebra library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/explosion/cython-blis";
|
2019-08-29 18:15:11 +00:00
|
|
|
license = licenses.bsd3;
|
2019-05-11 13:30:13 +00:00
|
|
|
maintainers = with maintainers; [ danieldk ];
|
2019-08-29 18:15:11 +00:00
|
|
|
};
|
2019-05-11 13:30:13 +00:00
|
|
|
}
|