pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / cose / default.nix
blob6ddb5676bef6c2958bc3742530b49b0ffcd1190e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   # Python deps
6   attrs,
7   cbor2,
8   certvalidator,
9   cryptography,
10   ecdsa,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "cose";
16   version = "1.0.1";
18   format = "pyproject";
20   src = fetchFromGitHub {
21     owner = "TimothyClaeys";
22     repo = "pycose";
23     rev = "v${version}";
24     hash = "sha256-8d6HebWlSKgx7dmOnT7ZZ5mrMfg6mNWhz1hHPv75XF4=";
25   };
27   propagatedBuildInputs = [
28     attrs
29     cbor2
30     certvalidator
31     cryptography
32     ecdsa
33     setuptools
34   ];
36   pythonImportsCheck = [ "pycose" ];
38   meta = with lib; {
39     description = "Python implementation of the COSE specification";
40     homepage = "https://github.com/TimothyClaeys/pycose";
41     license = licenses.bsd3;
42     maintainers = with maintainers; [ t4ccer ];
43   };