1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/canonicaljson/default.nix
2020-04-10 17:54:53 +01:00

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