10 buildPythonPackage rec {
11 pname = "moonraker-api";
13 format = "setuptools";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
21 hash = "sha256-PgFsXmdAmHXK0wZ6xLTu94RdME1L2H1Mb6V+qFlGXSk=";
25 # see comment on https://github.com/cmroche/moonraker-api/commit/e5ca8ab60d2839e150a81182fbe65255d84b4e4e
26 substituteInPlace setup.py \
27 --replace 'name="moonraker-api",' 'name="moonraker-api",version="${version}",'
30 propagatedBuildInputs = [
39 pythonImportsCheck = [
44 description = "Python API for the Moonraker API";
45 homepage = "https://github.com/cmroche/moonraker-api";
46 license = with licenses; [ gpl3Only ];
47 maintainers = with maintainers; [ fab ];