From 44c84d10f39114dc0c22ac2a0db8fc810660f806 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 31 Dec 2018 11:19:48 -0600 Subject: [PATCH] acme: remove unneeded 'nose' dep, use 'sourceRoot' instead of postUnpack Specifying "source" in sourceRoot isn't ideal (hopefully it doesn't change, again?) but I think this is the preferred way to do this. --- pkgs/development/python-modules/acme/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/acme/default.nix b/pkgs/development/python-modules/acme/default.nix index b65f60745f2..e9156b5c6af 100644 --- a/pkgs/development/python-modules/acme/default.nix +++ b/pkgs/development/python-modules/acme/default.nix @@ -1,6 +1,5 @@ { buildPythonPackage , certbot -, nose , pytest , cryptography , pyasn1 @@ -26,9 +25,9 @@ buildPythonPackage rec { werkzeug mock ndg-httpsclient josepy ]; - checkInputs = [ nose pytest ]; + checkInputs = [ pytest ]; - postUnpack = "sourceRoot=\${sourceRoot}/acme"; + sourceRoot = "source/${pname}"; meta = certbot.meta // { description = "ACME protocol implementation in Python";