2018-03-20 21:25:02 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
# buildInputs
|
|
|
|
, six
|
|
|
|
, setuptools
|
|
|
|
, pyopenssl
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "josepy";
|
2018-06-12 17:47:02 +01:00
|
|
|
version = "1.1.0";
|
2018-03-20 21:25:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:02 +01:00
|
|
|
sha256 = "fb5c62c77d26e04df29cb5ecd01b9ce69b6fcc9e521eb1ca193b7faa2afa7086";
|
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";
|
|
|
|
homepage = https://github.com/jezdez/josepy;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|