15 buildPythonPackage rec {
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-zZHFavU/Fp7wMsYunEoyktwViGaTMxjQWS40Yts9ZJI=";
27 nativeBuildInputs = [ setuptools-scm ];
29 propagatedBuildInputs =
35 ++ lib.optionals (pythonOlder "3.8") [
40 nativeCheckInputs = [ pytestCheckHook ];
42 pythonImportsCheck = [ "signedjson" ];
45 description = "Sign JSON with Ed25519 signatures";
46 homepage = "https://github.com/matrix-org/python-signedjson";
47 license = licenses.asl20;