3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/canonicaljson/default.nix
2020-08-16 19:30:54 +02:00

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;
};
}