diff options
author | Gaetan Lepage <gaetan@glepage.com> | 2024-03-25 14:01:13 +0100 |
---|---|---|
committer | Gaetan Lepage <gaetan@glepage.com> | 2024-03-25 14:01:20 +0100 |
commit | 06d52f97a93288f3ede4b8d831c774aa826d77a3 (patch) | |
tree | d9998a0bb4623e69331eeb1bd45facd8a49dd3b5 | |
parent | 9f629579f5b18451f1d29679f317b9e379b0dd4c (diff) | |
download | nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar.gz nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar.bz2 nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar.lz nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar.xz nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.tar.zst nixlib-06d52f97a93288f3ede4b8d831c774aa826d77a3.zip |
python311Packages.testcontainers: 4.0.0 -> 4.2.0
Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.2.0
-rw-r--r-- | pkgs/development/python-modules/testcontainers/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index 8450fcde1126..f4529499c97d 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -1,27 +1,35 @@ { lib -, fetchFromGitHub , buildPythonPackage +, pythonOlder +, fetchFromGitHub +, poetry-core , deprecation , docker -, wrapt }: +, wrapt +}: buildPythonPackage rec { pname = "testcontainers"; - version = "4.0.0"; + version = "4.2.0"; + disabled = pythonOlder "3.9"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "testcontainers"; repo = "testcontainers-python"; rev = "refs/tags/testcontainers-v${version}"; - hash = "sha256-cVVP9nGRTLC09KHalQDz7KOszjuFVVpMlee4btPNgd4="; + hash = "sha256-vHCrfeL3fPLZQgH7nlugIlADQaBbUQKsTBFhhq7kYWQ="; }; postPatch = '' echo "${version}" > VERSION ''; + nativeBuildInputs = [ + poetry-core + ]; + buildInputs = [ deprecation docker |