Skip to content

Commit

Permalink
python310Packages.testcontainers: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Mar 16, 2023
1 parent 4ddd5e4 commit 62501a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/testcontainers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ buildPythonPackage rec {
pname = "testcontainers";
version = "3.7.1";

format = "setuptools";

src = fetchFromGitHub {
owner = "testcontainers";
repo = "testcontainers-python";
rev = "v${version}";
hash = "sha256-OHuvUi5oa0fVcfo0FW9XwaUp52MEH4NTM6GqK4ic0oM=";
};

postPatch = ''
echo "${version}" > VERSION
'';

buildInputs = [
deprecation
docker
Expand Down

0 comments on commit 62501a2

Please sign in to comment.