pythonPackages.srsly: init at 0.0.5
This commit is contained in:
parent
18765a70ba
commit
b631c266ee
41
pkgs/development/python-modules/srsly/default.nix
Normal file
41
pkgs/development/python-modules/srsly/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, mock
|
||||
, numpy
|
||||
, pathlib
|
||||
, pytest
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "srsly";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0apgm8znc3k79ifja16fvxsxwgpy3n2fvbp7iwf9szizzpjscylp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
numpy
|
||||
pytest
|
||||
pytz
|
||||
];
|
||||
|
||||
# TypeError: cannot serialize '_io.BufferedRandom' object
|
||||
# Possibly because of sandbox restrictions.
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Modern high-performance serialization utilities for Python";
|
||||
homepage = https://github.com/explosion/srsly;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ danieldk ];
|
||||
};
|
||||
}
|
|
@ -5429,6 +5429,8 @@ in {
|
|||
|
||||
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
|
||||
|
||||
srsly = callPackage ../development/python-modules/srsly { };
|
||||
|
||||
thinc = callPackage ../development/python-modules/thinc { };
|
||||
|
||||
wasabi = callPackage ../development/python-modules/wasabi { };
|
||||
|
|
Loading…
Reference in a new issue