mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
2dc3bf1d1b
Major changes: - Update vendored blis to 0.5.1 - Change license to BSD - Support for read-only numpy arrays
38 lines
610 B
Nix
38 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 ];
|
|
};
|
|
}
|