pythonPackages.numcodecs: init at 0.6.3

This commit is contained in:
Chris Ostrouchov 2019-07-17 18:10:50 -04:00 committed by Frederik Rietdijk
parent 7136e0d0a6
commit d383eade73
2 changed files with 47 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };