depot/third_party/nixpkgs/pkgs/development/python-modules/canonicaljson/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
546 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, frozendict, simplejson, six
}:
buildPythonPackage rec {
pname = "canonicaljson";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "45bce530ff5fd0ca93703f71bfb66de740a894a3b5dd6122398c6d8f18539725";
};
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;
};
}