Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 70 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, mako, parse, parse-type, poetry-core, pytest, pytestCheckHook, pythonOlder, typing-extensions}:
buildPythonPackage rec { pname = "pytest-bdd"; version = "6.1.1"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "pytest-dev"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-+76jIgfDQPdIoesTr1+QUu8wmOnrdf4KT+TJr9F2Hqk="; };
patches = [ (fetchpatch { name = "remove-setuptools.patch"; url = "https://github.com/pytest-dev/pytest-bdd/commit/5d8eda3a30b47d3bd27849884a851adafca765cb.patch"; hash = "sha256-G2WHaRKlQ9HINufh8wl7+ly7HfDGobMLzzlbwDwd+o8="; }) ];
nativeBuildInputs = [ poetry-core ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ mako parse parse-type typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = '' export PATH=$PATH:$out/bin '';
pythonImportsCheck = [ "pytest_bdd" ];
meta = with lib; { description = "BDD library for the pytest"; homepage = "https://github.com/pytest-dev/pytest-bdd"; license = licenses.mit; maintainers = with maintainers; [ jm2dev ]; };}