Merge pull request #158680 from SuperSandro2000/moonraker-api

This commit is contained in:
Sandro 2022-02-08 20:38:07 +01:00 committed by GitHub
commit 2cce1b10e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];