cymem: init at 1.31.2

This commit is contained in:
Sasha Delly 2017-05-14 22:25:14 +00:00 committed by Frederik Rietdijk
parent f66b765f76
commit 58b28484ed
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, cython
, python
}:
buildPythonPackage rec {
name = "cymem-${version}";
version = "1.31.2";
src = fetchFromGitHub {
owner = "explosion";
repo = "cymem";
rev = "1.31.2";
sha256 = "0miznr4kbdzw8yik3m96jmrlmln4qv7z3i3qdp7wjqr51zpqfm1k";
};
propagatedBuildInputs = [
cython
];
checkPhase = ''
cd cymem/tests
${python.interpreter} -m unittest discover -p "*test*"
'';
meta = with stdenv.lib; {
description = "Cython memory pool for RAII-style memory management";
homepage = https://github.com/explosion/cymem;
license = licenses.mit;
maintainers = with maintainers; [ sdll ];
};
}

View File

@ -28715,6 +28715,8 @@ EOF
gensim = callPackage ../development/python-modules/gensim { };
cymem = callPackage ../development/python-modules/cymem { };
});
in fix' (extends overrides packages)