python313Packages.etelemetry: correctly set version in .dist-info file

Previously was being set to "0+unknown"
This commit is contained in:
Ben Darwin
2026-03-03 00:20:13 -05:00
parent af11050802
commit b39d166a0e
@@ -21,9 +21,15 @@ buildPythonPackage rec {
hash = "sha256-UaE5JQhv2AtzXKY7YD2/g6Kj1igKhmnY3zlf1P9B/iQ=";
};
nativeBuildInputs = [ setuptools ];
postPatch = ''
substituteInPlace setup.py --replace-fail "versioneer.get_version()" "'${version}'"
'';
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
ci-info
ci-py
requests