13 buildPythonPackage rec {
14 pname = "pytest-docker-tools";
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
22 repo = "pytest-docker-tools";
23 rev = "refs/tags/${version}";
24 hash = "sha256-6F3aSUyDlBBYG1kwOQvey7rujDdK83uJ3Q1dr8Uo1pw=";
28 # Switch to poetry-core, https://github.com/Jc2k/pytest-docker-tools/pull/48
30 name = "switch-poetry-core.patch";
31 url = "https://github.com/Jc2k/pytest-docker-tools/pull/48/commits/a655e4a32b075e06e89dd907b06bc4ad90703988.patch";
32 hash = "sha256-CwCBld7p+bqBfxV9IyxcCvfxXfnUSzCLF2m0ZduIqkU=";
36 build-system = [ poetry-core ];
38 buildInputs = [ pytest ];
40 dependencies = [ docker ];
42 # Tests require a Docker setup
45 pythonImportsCheck = [ "pytest_docker_tools" ];
48 description = "Opionated helpers for creating py.test fixtures for Docker integration and smoke testing environments";
49 homepage = "https://github.com/Jc2k/pytest-docker-tools";
50 changelog = "https://github.com/Jc2k/pytest-docker-tools/releases/tag/${version}";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ fab ];