blob: 9995e537c541082d2e7613d6b3ae284f9dcf10fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ 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 ];
};
}
|