mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
32 lines
503 B
Nix
32 lines
503 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, certbot
|
|
, nose
|
|
, cryptography
|
|
, pyasn1
|
|
, pyopenssl
|
|
, pyRFC3339
|
|
, josepy
|
|
, pytz
|
|
, requests
|
|
, six
|
|
, werkzeug
|
|
, mock
|
|
, ndg-httpsclient
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (certbot) src version;
|
|
|
|
pname = "acme";
|
|
name = "${pname}-${version}";
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
|
|
ndg-httpsclient josepy
|
|
];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/acme";
|
|
}
|