forked from mirrors/nixpkgs
24 lines
546 B
Nix
24 lines
546 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, frozendict, simplejson, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "canonicaljson";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b4763db06a2e8553293c5edaa4bda05605c3307179a7ddfb30273a24ac384b6c";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
frozendict simplejson six
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/matrix-org/python-canonicaljson";
|
|
description = "Encodes objects and arrays as RFC 7159 JSON.";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|