1 Commits
main ... dodo

Author SHA1 Message Date
90202ea147 Add dodo 2024-08-24 12:17:29 -07:00
2 changed files with 43 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
with import <nixpkgs> {};
let
nextcloudTalkDesktop = pkgs.callPackage ./modules/applications/nextcloud-talk-desktop/package.nix {};
dodo = pkgs.callPackage ./modules/applications/networking/mailreaders/dodo/default.nix {};
in
{
# Home Manager needs a bit of information about you and the paths it should
@@ -61,6 +62,7 @@ in
pkgs.wofi
pkgs.vlc
dodo
nextcloudTalkDesktop
];

View File

@@ -0,0 +1,41 @@
{ pkgs
, lib
, python3
, makeWrapper
, notmuch
, w3m
}:
python3.pkgs.buildPythonApplication rec {
pname = "dodo";
version = "unstable-2024-07-04";
format = "pyproject";
src = pkgs.fetchFromGitHub {
repo = pname;
owner = "akissinger";
rev = "503763c4d738af79ee0d761c47920e9a7b61855a";
sha256 = "sha256-Am1sFMRDlSNmVSQyuHtQj9weB90AT4d1dhnhsUlA6Zs=";
};
nativeBuildInputs = with python3.pkgs; [ setuptools-scm makeWrapper ];
propagatedBuildInputs = with python3.pkgs; [
bleach
pyqt6
pyqt6-sip
pyqt6-webengine
];
postInstall = ''
wrapProgram $out/bin/dodo --prefix PATH ":" \
${lib.makeBinPath [ notmuch w3m ]}
'';
meta = with lib; {
description = "A graphical, hackable email client based on notmuch";
homepage = "https://github.com/akissinger/dodo";
license = licenses.gpl3Only;
maintainers = with maintainers; [ matthiasbeyer ];
};
}