mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.nsw-fuel-api-client: fix version in nsw_fuel/__init__.py
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user