2018-03-20 21:25:02 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
# buildInputs
|
|
|
|
, six
|
|
|
|
, setuptools
|
|
|
|
, pyopenssl
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "josepy";
|
2020-11-29 14:04:32 +00:00
|
|
|
version = "1.5.0";
|
2018-03-20 21:25:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:32 +00:00
|
|
|
sha256 = "502a36f86efe2a6d09bf7018bca9fd8f8f24d8090a966aa037dbc844459ff9c8";
|
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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jezdez/josepy";
|
2018-03-20 21:25:02 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|