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