lol

python3Packages.pytest-bdd: 4.0.1 -> 4.0.2

authored by

Robert T. McGibbon and committed by
Jonathan Ringer
ac5ef3c5 b590df0f

+16 -7
+16 -7
pkgs/development/python-modules/pytest-bdd/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 2 , execnet 3 , glob2 4 , Mako ··· 7 , parse-type 8 , py 9 , pytest 10 , six 11 }: 12 13 buildPythonPackage rec { 14 pname = "pytest-bdd"; 15 - version = "4.0.1"; 16 17 # tests are not included in pypi tarball 18 src = fetchFromGitHub { 19 owner = "pytest-dev"; 20 repo = pname; 21 rev = version; 22 - sha256 = "1yqzz44as4pxffmg4hk9lijvnvlc2chg1maq1fbj5i4k4jpagvjz"; 23 }; 24 25 buildInputs = [ pytest ]; 26 27 propagatedBuildInputs = [ glob2 Mako parse parse-type py six ]; 28 29 - # Tests require extra dependencies 30 - checkInputs = [ execnet mock pytest ]; 31 - checkPhase = '' 32 - PATH=$PATH:$out/bin pytest 33 ''; 34 35 meta = with lib; {
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, fetchpatch 2 , execnet 3 , glob2 4 , Mako ··· 7 , parse-type 8 , py 9 , pytest 10 + , pytestCheckHook 11 , six 12 }: 13 14 buildPythonPackage rec { 15 pname = "pytest-bdd"; 16 + version = "4.0.2"; 17 18 # tests are not included in pypi tarball 19 src = fetchFromGitHub { 20 owner = "pytest-dev"; 21 repo = pname; 22 rev = version; 23 + sha256 = "0pxx4c8lm68rw0jshbr09fnadg8zz8j73q0qi49yw9s7yw86bg5l"; 24 }; 25 26 + patches = [ 27 + # Fixed compatibility with pytest > 6.1 28 + (fetchpatch { 29 + url = "https://github.com/pytest-dev/pytest-bdd/commit/e1dc0cad9a1c1ba563ccfbc24f9993d83ac59293.patch"; 30 + sha256 = "1p3gavh6nir2a8crd5wdf0prfrg0hmgar9slvn8a21ils3k5pm5y"; 31 + }) 32 + ]; 33 + 34 + 35 buildInputs = [ pytest ]; 36 37 propagatedBuildInputs = [ glob2 Mako parse parse-type py six ]; 38 39 + checkInputs = [ pytestCheckHook execnet mock ]; 40 + preCheck = '' 41 + export PATH=$PATH:$out/bin 42 ''; 43 44 meta = with lib; {