Merge pull request #298920 from GaetanLepage/testcontainers
python311Packages.testcontainers: 4.0.0 -> 4.2.0
This commit is contained in:
commit
84b4b872f0
|
@ -1,27 +1,35 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
, deprecation
|
, deprecation
|
||||||
, docker
|
, docker
|
||||||
, wrapt }:
|
, wrapt
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "testcontainers";
|
pname = "testcontainers";
|
||||||
version = "4.0.0";
|
version = "4.2.0";
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "testcontainers";
|
owner = "testcontainers";
|
||||||
repo = "testcontainers-python";
|
repo = "testcontainers-python";
|
||||||
rev = "refs/tags/testcontainers-v${version}";
|
rev = "refs/tags/testcontainers-v${version}";
|
||||||
hash = "sha256-cVVP9nGRTLC09KHalQDz7KOszjuFVVpMlee4btPNgd4=";
|
hash = "sha256-vHCrfeL3fPLZQgH7nlugIlADQaBbUQKsTBFhhq7kYWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo "${version}" > VERSION
|
echo "${version}" > VERSION
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
deprecation
|
deprecation
|
||||||
docker
|
docker
|
||||||
|
|
Loading…
Reference in New Issue
Block a user