From a554b1c71f47cb3ae842d948116c5d969b805b91 Mon Sep 17 00:00:00 2001 From: sveitser Date: Sat, 9 Mar 2019 21:38:27 +0800 Subject: [PATCH 1/2] pythonPackages.rfc3986: fix pytest dependency --- pkgs/development/python-modules/rfc3986/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/rfc3986/default.nix b/pkgs/development/python-modules/rfc3986/default.nix index b2675d04d5b0..2b1d769ea0c3 100644 --- a/pkgs/development/python-modules/rfc3986/default.nix +++ b/pkgs/development/python-modules/rfc3986/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { sha256 = "1qf4dyxvjs7mxrxc0gr7gzyn4iflb2wgq01r5pzrxac8rnvy8fmw"; }; - buildInputs = [ pytest ]; + checkInputs = [ pytest ]; checkPhase = '' py.test ''; From 47dd2b4c6ec5717faeb9faddbf5d44fdb1876a5e Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 10 Mar 2019 00:40:44 +0800 Subject: [PATCH 2/2] Replace deprecated py.test command with pytest Co-Authored-By: sveitser --- pkgs/development/python-modules/rfc3986/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/rfc3986/default.nix b/pkgs/development/python-modules/rfc3986/default.nix index 2b1d769ea0c3..4ffb182626c3 100644 --- a/pkgs/development/python-modules/rfc3986/default.nix +++ b/pkgs/development/python-modules/rfc3986/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { checkInputs = [ pytest ]; checkPhase = '' - py.test + pytest ''; meta = with stdenv.lib; {