2018-11-30 13:13:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cryptography
|
2021-06-19 22:29:34 +01:00
|
|
|
, deprecated
|
2022-05-13 07:48:35 +01:00
|
|
|
, pythonOlder
|
2018-11-30 13:13:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jwcrypto";
|
2022-05-22 04:59:27 +01:00
|
|
|
version = "1.3.1";
|
2022-05-13 07:48:35 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-11-30 13:13:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-22 04:59:27 +01:00
|
|
|
hash = "sha256-VLVRsRX/tNErHx7pO4uipxu4VWuj2F1i9wdUlhPah3w=";
|
2018-11-30 13:13:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cryptography
|
2021-06-19 22:29:34 +01:00
|
|
|
deprecated
|
2018-11-30 13:13:41 +00:00
|
|
|
];
|
|
|
|
|
2022-05-13 07:48:35 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"jwcrypto"
|
|
|
|
];
|
|
|
|
|
2018-11-30 13:13:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Implementation of JOSE Web standards";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/latchset/jwcrypto";
|
2018-11-30 13:13:41 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2022-05-13 07:48:35 +01:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2018-11-30 13:13:41 +00:00
|
|
|
};
|
|
|
|
}
|