python312Packages.influxdb3-python: set version manually

This commit is contained in:
Fabian Affolter
2024-11-15 09:01:13 +01:00
parent b9df40ab0c
commit dc88163abc
@@ -27,6 +27,12 @@ buildPythonPackage rec {
hash = "sha256-4P+bQEldyBNh4qsIkoZLXnUOrQ5wVGbr55xbS0oQMMM=";
};
postPatch = ''
# Upstream falls back to a default version if not in a GitHub Actions
substituteInPlace setup.py \
--replace-fail "version=get_version()," "version = '${version}',"
'';
build-system = [ setuptools ];
dependencies = [