aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/desktop.nix1
-rw-r--r--nixos/modules/packages.nix1
-rw-r--r--pkgs/default.nix2
-rw-r--r--pkgs/dodo/default.nix37
4 files changed, 41 insertions, 0 deletions
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index 4a8c7dd..54c50d2 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -70,6 +70,7 @@ in {
msmtp
notmuch
astroid
+ dodo
taskwarrior3
vdirsyncer
khal
diff --git a/nixos/modules/packages.nix b/nixos/modules/packages.nix
index d321901..1052f56 100644
--- a/nixos/modules/packages.nix
+++ b/nixos/modules/packages.nix
@@ -66,6 +66,7 @@ in {
speedtest-cli
librespeed-cli
termshark
+ w3m
lm_sensors
]
diff --git a/pkgs/default.nix b/pkgs/default.nix
index eca6db6..68c6951 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -29,6 +29,8 @@ in {
bigclown-leds = final.callPackage ./bigclown-leds {};
+ dodo = final.callPackage ./dodo {};
+
# nixpkgs patches
zigbee2mqtt = prev.zigbee2mqtt.overrideAttrs {
npmInstallFlags = ["--no-optional"]; # Fix cross build
diff --git a/pkgs/dodo/default.nix b/pkgs/dodo/default.nix
new file mode 100644
index 0000000..3491377
--- /dev/null
+++ b/pkgs/dodo/default.nix
@@ -0,0 +1,37 @@
+{
+ python3Packages,
+ fetchFromGitHub,
+ qt6,
+ copyDesktopItems,
+}:
+python3Packages.buildPythonApplication {
+ pname = "dodo";
+ version = "240917";
+ pyproject = true;
+
+ src = fetchFromGitHub {
+ owner = "akissinger";
+ repo = "dodo";
+ rev = "194fb49523c7851bedc3ca8c11adea04830fb28d";
+ hash = "sha256-iGMIeGGqJnp0xi4q1Dpev4dkSp0tdFGu0U/MGeHrtcY=";
+ };
+
+ build-system = with python3Packages; [
+ setuptools
+ ];
+
+ dependencies = with python3Packages; [
+ qt6.qtwayland
+ bleach
+ pyqt6
+ pyqt6-webengine
+ python-gnupg
+ copyDesktopItems
+ ];
+
+ nativeBuildInputs = [qt6.wrapQtAppsHook];
+ dontWrapQtApps = true;
+ preFixup = ''
+ wrapQtApp "$out/bin/dodo" --prefix PATH : $out/bin/dodo
+ '';
+}