e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
37 lines
740 B
Nix
37 lines
740 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cryptography
|
|
, deprecated
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jwcrypto";
|
|
version = "1.5.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SLub9DN3cTYlNXnlK3X/4PmkpyHRM9AfRaC5HtX08a4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
deprecated
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"jwcrypto"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of JOSE Web standards";
|
|
homepage = "https://github.com/latchset/jwcrypto";
|
|
changelog = "https://github.com/latchset/jwcrypto/releases/tag/v${version}";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|