3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/canonicaljson/default.nix
2020-08-23 02:18:27 +02:00

25 lines
575 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, frozendict, simplejson, six, isPy27
}:
buildPythonPackage rec {
pname = "canonicaljson";
version = "1.3.0";
disabled = isPy27;
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;
};
}