diff options
Diffstat (limited to 'pkgs/applications/misc/klipperscreen/default.nix')
-rw-r--r-- | pkgs/applications/misc/klipperscreen/default.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/pkgs/applications/misc/klipperscreen/default.nix b/pkgs/applications/misc/klipperscreen/default.nix deleted file mode 100644 index fea8dbc80e23..000000000000 --- a/pkgs/applications/misc/klipperscreen/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -, wrapGAppsHook3 -, gobject-introspection -, gitUpdater -}: python3.pkgs.buildPythonApplication rec { - pname = "KlipperScreen"; - version = "0.4.3"; - format = "other"; - - src = fetchFromGitHub { - owner = "jordanruthe"; - repo = "KlipperScreen"; - rev = "v${version}"; - hash = "sha256-6hMefH9VcNnWhKdQRs7cPVL86LEDRSLaxygmi15HdLI="; - }; - - nativeBuildInputs = [ - gobject-introspection - wrapGAppsHook3 - ]; - - pythonPath = with python3.pkgs; [ - jinja2 - netifaces - requests - websocket-client - pycairo - pygobject3 - mpv - six - dbus-python - ]; - - dontWrapGApps = true; - - preFixup = '' - mkdir -p $out/bin - cp -r . $out/dist - gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH") - wrapGApp $out/dist/screen.py - ln -s $out/dist/screen.py $out/bin/KlipperScreen - ''; - - passthru.updateScript = gitUpdater { url = meta.homepage; }; - - meta = with lib; { - description = "Touchscreen GUI for the Klipper 3D printer firmware"; - homepage = "https://github.com/jordanruthe/KlipperScreen"; - license = licenses.agpl3Only; - maintainers = with maintainers; [ cab404 saturn745 ]; - mainProgram = "KlipperScreen"; - }; -} |