Loading pkgs/development/python-modules/pytest-docker-tools/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, docker, fetchFromGitHub, fetchpatch, poetry-core, pytest, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "pytest-docker-tools"; version = "3.1.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Jc2k"; repo = "pytest-docker-tools"; rev = "refs/tags/${version}"; hash = "sha256-6F3aSUyDlBBYG1kwOQvey7rujDdK83uJ3Q1dr8Uo1pw="; }; patches = [ # Switch to poetry-core, https://github.com/Jc2k/pytest-docker-tools/pull/48 (fetchpatch { name = "switch-poetry-core.patch"; url = "https://github.com/Jc2k/pytest-docker-tools/pull/48/commits/a655e4a32b075e06e89dd907b06bc4ad90703988.patch"; hash = "sha256-CwCBld7p+bqBfxV9IyxcCvfxXfnUSzCLF2m0ZduIqkU="; }) ]; build-system = [ poetry-core ]; buildInputs = [ pytest ]; dependencies = [ docker ]; # Tests require a Docker setup doCheck = false; pythonImportsCheck = [ "pytest_docker_tools" ]; meta = with lib; { description = "Opionated helpers for creating py.test fixtures for Docker integration and smoke testing environments"; homepage = "https://github.com/Jc2k/pytest-docker-tools"; changelog = "https://github.com/Jc2k/pytest-docker-tools/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12556,6 +12556,8 @@ self: super: with self; { pytest-django = callPackage ../development/python-modules/pytest-django { }; pytest-docker-tools = callPackage ../development/python-modules/pytest-docker-tools { }; pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { }; pytest-dotenv = callPackage ../development/python-modules/pytest-dotenv { }; Loading Loading
pkgs/development/python-modules/pytest-docker-tools/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, docker, fetchFromGitHub, fetchpatch, poetry-core, pytest, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "pytest-docker-tools"; version = "3.1.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Jc2k"; repo = "pytest-docker-tools"; rev = "refs/tags/${version}"; hash = "sha256-6F3aSUyDlBBYG1kwOQvey7rujDdK83uJ3Q1dr8Uo1pw="; }; patches = [ # Switch to poetry-core, https://github.com/Jc2k/pytest-docker-tools/pull/48 (fetchpatch { name = "switch-poetry-core.patch"; url = "https://github.com/Jc2k/pytest-docker-tools/pull/48/commits/a655e4a32b075e06e89dd907b06bc4ad90703988.patch"; hash = "sha256-CwCBld7p+bqBfxV9IyxcCvfxXfnUSzCLF2m0ZduIqkU="; }) ]; build-system = [ poetry-core ]; buildInputs = [ pytest ]; dependencies = [ docker ]; # Tests require a Docker setup doCheck = false; pythonImportsCheck = [ "pytest_docker_tools" ]; meta = with lib; { description = "Opionated helpers for creating py.test fixtures for Docker integration and smoke testing environments"; homepage = "https://github.com/Jc2k/pytest-docker-tools"; changelog = "https://github.com/Jc2k/pytest-docker-tools/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12556,6 +12556,8 @@ self: super: with self; { pytest-django = callPackage ../development/python-modules/pytest-django { }; pytest-docker-tools = callPackage ../development/python-modules/pytest-docker-tools { }; pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { }; pytest-dotenv = callPackage ../development/python-modules/pytest-dotenv { }; Loading