2019-05-11 14:30:13 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cython
|
|
|
|
, hypothesis
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blis";
|
2020-08-17 07:06:22 +01:00
|
|
|
version = "0.7.1";
|
2019-05-11 14:30:13 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-17 07:06:22 +01:00
|
|
|
sha256 = "014771a0f753a64ef5610c5b3d4a090b263073bdd59b8ad0d872ce1e06e7315a";
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
2019-05-11 14:30:13 +01:00
|
|
|
maintainers = with maintainers; [ danieldk ];
|
2019-08-29 19:15:11 +01:00
|
|
|
};
|
2019-05-11 14:30:13 +01:00
|
|
|
}
|