2018-03-20 21:25:02 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
# buildInputs
|
|
|
|
, six
|
|
|
|
, setuptools
|
|
|
|
, pyopenssl
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "josepy";
|
2020-08-28 00:16:40 +01:00
|
|
|
version = "1.4.0";
|
2018-03-20 21:25:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-28 00:16:40 +01:00
|
|
|
sha256 = "c37ff4b93606e6a452b72cdb992da5e0544be12912fac01b31ddbdd61f6d5bd0";
|
2018-03-20 21:25:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyopenssl
|
|
|
|
cryptography
|
|
|
|
six
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
# too many unpackaged check requirements
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "JOSE protocol implementation in Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jezdez/josepy";
|
2018-03-20 21:25:02 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|