Merge pull request #37493 from makefu/pkgs/simp_le/0.8.0

simp_le: 0.6.1 -> 0.8.0
This commit is contained in:
Jörg Thalheim
2018-03-21 12:03:59 +00:00
committed by GitHub
5 changed files with 71 additions and 17 deletions

View File

@@ -1,6 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi
, certbot, nose, cryptography, pyasn1, pyopenssl, pyRFC3339
, pytz, requests, six, werkzeug, mock, ndg-httpsclient }:
, certbot
, nose
, cryptography
, pyasn1
, pyopenssl
, pyRFC3339
, josepy
, pytz
, requests
, six
, werkzeug
, mock
, ndg-httpsclient
}:
buildPythonPackage rec {
inherit (certbot) src version;
@@ -10,10 +22,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
ndg-httpsclient
ndg-httpsclient josepy
];
buildInputs = [ nose ];
checkInputs = [ nose ];
postUnpack = "sourceRoot=\${sourceRoot}/acme";
}

View File

@@ -0,0 +1,35 @@
{ lib, fetchPypi, buildPythonPackage
# buildInputs
, six
, setuptools
, pyopenssl
, cryptography
}:
buildPythonPackage rec {
pname = "josepy";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1k0ahzzaq2rrjiifwbhbp7vm8z4zk0ipgiqwicil80kzlf6bhj4z";
};
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; [ ];
};
}