18 buildPythonPackage rec {
19 pname = "testcontainers";
23 src = fetchFromGitHub {
24 owner = "testcontainers";
25 repo = "testcontainers-python";
26 rev = "refs/tags/testcontainers-v${version}";
27 hash = "sha256-cfvhTNUadx7zRmDPAv9Djsx+jWgBIAf9dMmwop/8oa0=";
31 echo "${version}" > VERSION
34 build-system = [ poetry-core ];
42 dependencies = [ typing-extensions ];
44 # Tests require various container and database services running
47 pythonImportsCheck = [ "testcontainers" ];
50 description = "Allows using docker containers for functional and integration testing";
51 homepage = "https://github.com/testcontainers/testcontainers-python";
52 changelog = "https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v${version}";
53 license = lib.licenses.asl20;
54 maintainers = with lib.maintainers; [ onny ];