2dc3bf1d1b
Major changes: - Update vendored blis to 0.5.1 - Change license to BSD - Support for read-only numpy arrays
37 lines
610 B
Nix
37 lines
610 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cython
|
|
, hypothesis
|
|
, numpy
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "blis";
|
|
version = "0.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1khh02z6wryrnrxlx2wrxzhaqsg5hlgypy0643rvi4zcqanvdpym";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
];
|
|
|
|
|
|
checkInputs = [
|
|
cython
|
|
hypothesis
|
|
numpy
|
|
pytest
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "BLAS-like linear algebra library";
|
|
homepage = https://github.com/explosion/cython-blis;
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ danieldk ];
|
|
};
|
|
}
|