lol

python3Packages.pytest-bdd: 4.0.2 -> 5.0.0

authored by

Fabian Affolter and committed by
Martin Weinelt
8bcd96e7 c07130d8

+28 -16
+28 -16
pkgs/development/python-modules/pytest-bdd/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, fetchpatch 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 2 4 , execnet 3 5 , glob2 4 6 , Mako ··· 8 10 , py 9 11 , pytest 10 12 , pytestCheckHook 11 - , six 13 + , pythonOlder 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "pytest-bdd"; 16 - version = "4.0.2"; 18 + version = "5.0.0"; 19 + format = "setuptools"; 17 20 18 - # tests are not included in pypi tarball 21 + disabled = pythonOlder "3.6"; 22 + 19 23 src = fetchFromGitHub { 20 24 owner = "pytest-dev"; 21 25 repo = pname; 22 26 rev = version; 23 - sha256 = "0pxx4c8lm68rw0jshbr09fnadg8zz8j73q0qi49yw9s7yw86bg5l"; 27 + sha256 = "sha256-3P9ongMAsLITOCRPmME492xnkdVc8IdOVrINK57gfOY="; 24 28 }; 25 29 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 - }) 30 + buildInputs = [ 31 + pytest 32 32 ]; 33 33 34 + propagatedBuildInputs = [ 35 + glob2 36 + Mako 37 + parse 38 + parse-type 39 + py 40 + ]; 34 41 35 - buildInputs = [ pytest ]; 36 - 37 - propagatedBuildInputs = [ glob2 Mako parse parse-type py six ]; 42 + checkInputs = [ 43 + pytestCheckHook 44 + execnet 45 + mock 46 + ]; 38 47 39 - checkInputs = [ pytestCheckHook execnet mock ]; 40 48 preCheck = '' 41 49 export PATH=$PATH:$out/bin 42 50 ''; 43 51 52 + pythonImportsCheck = [ 53 + "pytest_bdd" 54 + ]; 55 + 44 56 meta = with lib; { 45 - description = "BDD library for the py.test runner"; 57 + description = "BDD library for the pytest"; 46 58 homepage = "https://github.com/pytest-dev/pytest-bdd"; 47 59 license = licenses.mit; 48 60 maintainers = with maintainers; [ jm2dev ];