diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-08-16 23:28:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 23:28:03 +0200 |
commit | d2514e1a8e2f833f36fced192ccd0fad2d92fe29 (patch) | |
tree | ddd55bb667817ef7a60b5cf3942120912cb1ce6a /pkgs/development/python-modules/json-tricks | |
parent | 681b500b6faaccf5a0b685ce226295d89bafbd6a (diff) |
python311Packages.json-tricks: add format
Diffstat (limited to 'pkgs/development/python-modules/json-tricks')
-rw-r--r-- | pkgs/development/python-modules/json-tricks/default.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/json-tricks/default.nix b/pkgs/development/python-modules/json-tricks/default.nix index a9fd6f24aa2d6..74d30d1aa4684 100644 --- a/pkgs/development/python-modules/json-tricks/default.nix +++ b/pkgs/development/python-modules/json-tricks/default.nix @@ -11,18 +11,27 @@ buildPythonPackage rec { pname = "json-tricks"; version = "3.17.2"; + format = "setuptools"; + disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "mverleg"; repo = "pyjson_tricks"; - rev = "v${version}"; - sha256 = "sha256-7AT4h+f3FDTITfVZyLTimZlDGuAxKwe0kFYBEFGv51s="; + rev = "refs/tags/v${version}"; + hash = "sha256-7AT4h+f3FDTITfVZyLTimZlDGuAxKwe0kFYBEFGv51s="; }; - nativeCheckInputs = [ numpy pandas pytz pytestCheckHook ]; + nativeCheckInputs = [ + numpy + pandas + pytz + pytestCheckHook + ]; - pythonImportsCheck = [ "json_tricks" ]; + pythonImportsCheck = [ + "json_tricks" + ]; meta = with lib; { description = "Extra features for Python JSON handling"; |