11 buildPythonPackage rec {
12 pname = "canonicaljson";
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-4v2u8df63F2ctZvT0NQbBk3dppeAmsQyXc7XIdEvET8=";
23 nativeBuildInputs = [ setuptools ];
25 propagatedBuildInputs = [ simplejson ];
27 nativeCheckInputs = [ pytestCheckHook ];
29 pythonImportsCheck = [ "canonicaljson" ];
32 description = "Encodes objects and arrays as RFC 7159 JSON";
33 homepage = "https://github.com/matrix-org/python-canonicaljson";
34 changelog = "https://github.com/matrix-org/python-canonicaljson/blob/v${version}/CHANGES.md";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ fab ];