2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2019-05-11 06:30:13 -07:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cython
|
|
|
|
, hypothesis
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blis";
|
2020-12-09 00:12:26 -08:00
|
|
|
version = "0.7.4";
|
2019-05-11 06:30:13 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-09 00:12:26 -08:00
|
|
|
sha256 = "7daa615a97d4f28db0f332b710bfe1900b15d0c25841c6d727965e4fd91e09cf";
|
2019-05-11 06:30:13 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
2020-08-29 12:53:51 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2019-05-11 06:30:13 -07:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-05-11 06:30:13 -07:00
|
|
|
description = "BLAS-like linear algebra library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/explosion/cython-blis";
|
2019-08-29 11:15:11 -07:00
|
|
|
license = licenses.bsd3;
|
2020-11-28 23:48:09 -08:00
|
|
|
platforms = platforms.x86_64;
|
2019-08-29 11:15:11 -07:00
|
|
|
};
|
2019-05-11 06:30:13 -07:00
|
|
|
}
|