nixpkgs/pkgs/development/python-modules/blis/default.nix

40 lines
647 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, hypothesis
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "blis";
version = "0.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "c14fb9ec3f5ed7c4940c132c7691469ac5d3e302891d95e935623bf1d4e17fbb";
};
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
numpy
];
checkInputs = [
hypothesis
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 ];
};
}