python3Packages.nsw-fuel-api-client: fix version in nsw_fuel/__init__.py

This commit is contained in:
Robert Schütz
2026-07-02 22:01:12 -07:00
parent e5a478dc03
commit 6552955c76

View File

@@ -20,6 +20,11 @@ buildPythonPackage rec {
hash = "sha256-3nkBDLmFOfYLvG5fi2subA9zxb51c7zWlhT4GaCQo9I=";
};
postPatch = ''
substituteInPlace nsw_fuel/__init__.py \
--replace-fail '__version__ = "0.0.0-dev"' '__version__ = "${version}"'
'';
build-system = [
setuptools
];