nixpkgs/pkgs/development/python-modules/srsly/default.nix
R. RyanTM 2ea77f9520 python37Packages.srsly: 0.0.5 -> 0.0.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-srsly/versions
2019-06-17 19:02:33 -07:00

42 lines
797 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, mock
, numpy
, pathlib
, pytest
, pytz
}:
buildPythonPackage rec {
pname = "srsly";
version = "0.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "1v9nn17q2lshnvnc8ff6nk53rggz2hgnmx4fj4czfr40125r98pk";
};
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 ];
};
}