1{ stdenv, buildPythonPackage, fetchPypi 2, frozendict, simplejson, six 3}: 4 5buildPythonPackage rec { 6 pname = "canonicaljson"; 7 version = "1.1.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "45bce530ff5fd0ca93703f71bfb66de740a894a3b5dd6122398c6d8f18539725"; 12 }; 13 14 propagatedBuildInputs = [ 15 frozendict simplejson six 16 ]; 17 18 meta = with stdenv.lib; { 19 homepage = https://github.com/matrix-org/python-canonicaljson; 20 description = "Encodes objects and arrays as RFC 7159 JSON."; 21 license = licenses.asl20; 22 }; 23}