2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
cython_0,
|
|
|
|
catalogue,
|
|
|
|
mock,
|
|
|
|
numpy,
|
|
|
|
psutil,
|
|
|
|
pytest,
|
|
|
|
ruamel-yaml,
|
|
|
|
setuptools,
|
|
|
|
tornado,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "srsly";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.4.8";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "pyproject";
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-sk2VplAJwkR+C0nNoEOsU/7PTwnjWNh6V0RkWPkbipE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
nativeBuildInputs = [
|
2024-04-21 15:54:59 +00:00
|
|
|
cython_0
|
2023-01-20 10:41:00 +00:00
|
|
|
setuptools
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ catalogue ];
|
2021-02-13 14:23:35 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
mock
|
|
|
|
numpy
|
2023-01-20 10:41:00 +00:00
|
|
|
psutil
|
2020-04-24 23:36:52 +00:00
|
|
|
pytest
|
2021-05-20 23:08:51 +00:00
|
|
|
ruamel-yaml
|
2023-01-20 10:41:00 +00:00
|
|
|
tornado
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "srsly" ];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-01-20 10:41:00 +00:00
|
|
|
changelog = "https://github.com/explosion/srsly/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Modern high-performance serialization utilities for Python";
|
|
|
|
homepage = "https://github.com/explosion/srsly";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|