depot/third_party/nixpkgs/pkgs/development/python-modules/json-tricks/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

33 lines
705 B
Nix

{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytestCheckHook
, numpy
, pandas
, pytz
}:
buildPythonPackage rec {
pname = "json-tricks";
version = "3.15.5";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "mverleg";
repo = "pyjson_tricks";
rev = "v${version}";
sha256 = "wdpqCqMO0EzKyqE4ishL3CTsSw3sZPGvJ0HEktKFgZU=";
};
checkInputs = [ numpy pandas pytz pytestCheckHook ];
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 ];
};
}