Loading pkgs/development/python-modules/behave/default.nix +13 −12 Original line number Diff line number Diff line Loading @@ -4,46 +4,49 @@ fetchFromGitHub, buildPythonPackage, python, pythonOlder, pytestCheckHook, assertpy, mock, path, pyhamcrest, pytest-html, glibcLocales, colorama, cucumber-tag-expressions, parse, parse-type, setuptools, six, }: buildPythonPackage rec { pname = "behave"; version = "1.2.7.dev2"; format = "setuptools"; version = "1.2.7.dev5"; pyproject = true; src = fetchFromGitHub { owner = "behave"; repo = pname; repo = "behave"; rev = "v${version}"; hash = "sha256-B8PUN1Q4UAsDWrHjPZDlpaPjCKjI/pAogCSI+BQnaWs="; hash = "sha256-G1o0a57MRczwjGLl/tEYC+yx3nxpk6+E58RvR9kVJpA="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook assertpy mock path pyhamcrest pytest-html ]; # upstream tests are failing, so instead we only check if we can import it doCheck = false; doCheck = pythonOlder "3.12"; pythonImportsCheck = [ "behave" ]; buildInputs = [ glibcLocales ]; propagatedBuildInputs = [ dependencies = [ colorama cucumber-tag-expressions parse Loading @@ -60,15 +63,13 @@ buildPythonPackage rec { disabledTests = lib.optionals stdenv.isDarwin [ "test_step_decorator_async_run_until_complete" ]; postCheck = '' export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' tools/test-features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' issue.features/ ''; meta = with lib; { changelog = "https://github.com/behave/behave/blob/${src.rev}/CHANGES.rst"; homepage = "https://github.com/behave/behave"; description = "behaviour-driven development, Python style"; mainProgram = "behave"; Loading Loading
pkgs/development/python-modules/behave/default.nix +13 −12 Original line number Diff line number Diff line Loading @@ -4,46 +4,49 @@ fetchFromGitHub, buildPythonPackage, python, pythonOlder, pytestCheckHook, assertpy, mock, path, pyhamcrest, pytest-html, glibcLocales, colorama, cucumber-tag-expressions, parse, parse-type, setuptools, six, }: buildPythonPackage rec { pname = "behave"; version = "1.2.7.dev2"; format = "setuptools"; version = "1.2.7.dev5"; pyproject = true; src = fetchFromGitHub { owner = "behave"; repo = pname; repo = "behave"; rev = "v${version}"; hash = "sha256-B8PUN1Q4UAsDWrHjPZDlpaPjCKjI/pAogCSI+BQnaWs="; hash = "sha256-G1o0a57MRczwjGLl/tEYC+yx3nxpk6+E58RvR9kVJpA="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook assertpy mock path pyhamcrest pytest-html ]; # upstream tests are failing, so instead we only check if we can import it doCheck = false; doCheck = pythonOlder "3.12"; pythonImportsCheck = [ "behave" ]; buildInputs = [ glibcLocales ]; propagatedBuildInputs = [ dependencies = [ colorama cucumber-tag-expressions parse Loading @@ -60,15 +63,13 @@ buildPythonPackage rec { disabledTests = lib.optionals stdenv.isDarwin [ "test_step_decorator_async_run_until_complete" ]; postCheck = '' export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' tools/test-features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' issue.features/ ''; meta = with lib; { changelog = "https://github.com/behave/behave/blob/${src.rev}/CHANGES.rst"; homepage = "https://github.com/behave/behave"; description = "behaviour-driven development, Python style"; mainProgram = "behave"; Loading