fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
782 B
Nix
41 lines
782 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
pytest7CheckHook,
|
|
numpy,
|
|
pandas,
|
|
pytz,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "json-tricks";
|
|
version = "3.17.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mverleg";
|
|
repo = "pyjson_tricks";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-xddMc4PvVI+mqB3eeVqECZmdeSKAURsdbOnUAXahqM0=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
numpy
|
|
pandas
|
|
pytz
|
|
pytest7CheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "json_tricks" ];
|
|
|
|
meta = with lib; {
|
|
description = "Extra features for Python JSON handling";
|
|
homepage = "https://github.com/mverleg/pyjson_tricks";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|