My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/srsly/default.nix

42 lines
707 B

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, cython
, catalogue
, mock
, numpy
, pytest
, ruamel-yaml
}:
buildPythonPackage rec {
pname = "srsly";
version = "2.4.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-2+kfbdSuqegZSTYoNW3HFb2cYGSGKXu3yldI5uADhBw=";
};
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ catalogue ];
checkInputs = [
mock
numpy
pytest
ruamel-yaml
];
pythonImportsCheck = [ "srsly" ];
meta = with lib; {
description = "Modern high-performance serialization utilities for Python";
homepage = "https://github.com/explosion/srsly";
license = licenses.mit;
};
}