2018-04-21 17:46:44 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, frozendict, simplejson, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "canonicaljson";
|
2018-05-28 13:17:15 +01:00
|
|
|
version = "1.1.4";
|
2018-04-21 17:46:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-28 13:17:15 +01:00
|
|
|
sha256 = "45bce530ff5fd0ca93703f71bfb66de740a894a3b5dd6122398c6d8f18539725";
|
2018-04-21 17:46:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
frozendict simplejson six
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/matrix-org/python-canonicaljson";
|
2018-04-21 17:46:44 +01:00
|
|
|
description = "Encodes objects and arrays as RFC 7159 JSON.";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|