mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python311Packages.testcontainers: 4.0.0 -> 4.2.0
Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.2.0
This commit is contained in:
parent
9f629579f5
commit
06d52f97a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user