mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
44c84d10f3
Specifying "source" in sourceRoot isn't ideal (hopefully it doesn't change, again?) but I think this is the preferred way to do this.
36 lines
572 B
Nix
36 lines
572 B
Nix
{ buildPythonPackage
|
|
, certbot
|
|
, pytest
|
|
, cryptography
|
|
, pyasn1
|
|
, pyopenssl
|
|
, pyRFC3339
|
|
, josepy
|
|
, pytz
|
|
, requests
|
|
, requests-toolbelt
|
|
, six
|
|
, werkzeug
|
|
, mock
|
|
, ndg-httpsclient
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (certbot) src version;
|
|
|
|
pname = "acme";
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests requests-toolbelt six
|
|
werkzeug mock ndg-httpsclient josepy
|
|
];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
sourceRoot = "source/${pname}";
|
|
|
|
meta = certbot.meta // {
|
|
description = "ACME protocol implementation in Python";
|
|
};
|
|
}
|