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