summary refs log tree commit diff
path: root/pkgs/development/python-modules/acme
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-12-31 11:19:48 -0600
committerWill Dietz <w@wdtz.org>2019-02-03 20:58:45 -0600
commit44c84d10f39114dc0c22ac2a0db8fc810660f806 (patch)
tree9822e78165823f4d94b7710c80177171a4e894e7 /pkgs/development/python-modules/acme
parentea9853d790644f8bdf432dceb1f5cd2f58b62989 (diff)
downloadnixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar.gz
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar.bz2
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar.lz
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar.xz
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.tar.zst
nixpkgs-44c84d10f39114dc0c22ac2a0db8fc810660f806.zip
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.
Diffstat (limited to 'pkgs/development/python-modules/acme')
-rw-r--r--pkgs/development/python-modules/acme/default.nix5
1 files 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";