Skip to content

Commit 62501a2

Browse files
committed
python310Packages.testcontainers: fix build
1 parent 4ddd5e4 commit 62501a2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • pkgs/development/python-modules/testcontainers

pkgs/development/python-modules/testcontainers/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ buildPythonPackage rec {
99
pname = "testcontainers";
1010
version = "3.7.1";
1111

12+
format = "setuptools";
13+
1214
src = fetchFromGitHub {
1315
owner = "testcontainers";
1416
repo = "testcontainers-python";
1517
rev = "v${version}";
1618
hash = "sha256-OHuvUi5oa0fVcfo0FW9XwaUp52MEH4NTM6GqK4ic0oM=";
1719
};
1820

21+
postPatch = ''
22+
echo "${version}" > VERSION
23+
'';
24+
1925
buildInputs = [
2026
deprecation
2127
docker

0 commit comments

Comments
 (0)