linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / signedjson / default.nix
blob2f47113408e8246dc6eae8f523219bf03081874c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , canonicaljson
5 , unpaddedbase64
6 , pynacl
7 , typing-extensions
8 }:
10 buildPythonPackage rec {
11   pname = "signedjson";
12   version = "1.1.0";
14   src = fetchFromGitHub {
15     owner = "matrix-org";
16     repo = "python-${pname}";
17     rev = "refs/tags/v${version}";
18     sha256 = "18s388hm3babnvakbbgfqk0jzq25nnznvhygywd3azp9b4yzmd5c";
19   };
21   propagatedBuildInputs = [ canonicaljson unpaddedbase64 pynacl typing-extensions ];
23   meta = with lib; {
24     homepage = "https://pypi.org/project/signedjson/";
25     description = "Sign JSON with Ed25519 signatures";
26     license = licenses.asl20;
27   };