pythonPackages.numcodecs: init at 0.6.3
This commit is contained in:
parent
7136e0d0a6
commit
d383eade73
45
pkgs/development/python-modules/numcodecs/default.nix
Normal file
45
pkgs/development/python-modules/numcodecs/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, cython
|
||||
, numpy
|
||||
, msgpack
|
||||
, pytest
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numcodecs";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "086qwlyi01rpgyyyy8bmhh9i7hpksyz33ldci3wdwmhiblyl362y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools_scm
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
msgpack
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest $out/${python.sitePackages}/numcodecs -k "not test_backwards_compatibility"
|
||||
'';
|
||||
|
||||
meta = with lib;{
|
||||
homepage = https://github.com/alimanfoo/numcodecs;
|
||||
license = licenses.mit;
|
||||
description = "Buffer compression and transformation codecs for use in data storage and communication applications";
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -3816,6 +3816,8 @@ in {
|
||||
|
||||
numba = callPackage ../development/python-modules/numba { };
|
||||
|
||||
numcodecs = callPackage ../development/python-modules/numcodecs { };
|
||||
|
||||
numexpr = callPackage ../development/python-modules/numexpr { };
|
||||
|
||||
Nuitka = callPackage ../development/python-modules/nuitka { };
|
||||
|
Loading…
Reference in New Issue
Block a user