python39Packages.moonraker-api: fix version number

This commit is contained in:
Sandro Jäckel 2022-02-08 19:27:26 +01:00
parent 829942fd95
commit f5499849e2
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -21,6 +21,12 @@ buildPythonPackage rec {
sha256 = "1hhm3jnl9qm44y4k927fzw1n32c3551kgsk7i57qw25nca9x3k61";
};
postPatch = ''
# see comment on https://github.com/cmroche/moonraker-api/commit/e5ca8ab60d2839e150a81182fbe65255d84b4e4e
substituteInPlace setup.py \
--replace 'name="moonraker-api",' 'name="moonraker-api",version="${version}",'
'';
propagatedBuildInputs = [
aiohttp
];