3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
36 lines
668 B
Nix
36 lines
668 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cryptography
|
|
, deprecated
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jwcrypto";
|
|
version = "1.3.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-VLVRsRX/tNErHx7pO4uipxu4VWuj2F1i9wdUlhPah3w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
deprecated
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"jwcrypto"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of JOSE Web standards";
|
|
homepage = "https://github.com/latchset/jwcrypto";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|