about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-06-21 10:53:41 -0500
committerGitHub <noreply@github.com>2016-06-21 10:53:41 -0500
commit6a61621cb4e93ff50b5dac7dc8900acc55184ed1 (patch)
treed94a052ff5a04be78be0bafa09f5026b4e9f8c07 /pkgs/applications/networking/mailreaders
parent9e2866d5de1d2fb968e475b45c6be01d83f09299 (diff)
parentbb8bd4b5cf1426bf346f0cfb96ce9b720810f5c2 (diff)
Merge pull request #16396 from FRidh/trojita
trojita: init at 0.7
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/trojita/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/trojita/default.nix b/pkgs/applications/networking/mailreaders/trojita/default.nix
new file mode 100644
index 0000000000000..892d9d8fa5787
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/trojita/default.nix
@@ -0,0 +1,41 @@
+{ stdenv
+, lib
+, fetchgit
+, cmake
+, qtbase
+, qtwebkit
+, makeQtWrapper
+}:
+
+stdenv.mkDerivation rec {
+  name = "trojita-${version}";
+  version = "0.7";
+
+  src = fetchgit {
+    url = "https://anongit.kde.org/trojita.git";
+    rev = "065d527c63e8e4a3ca0df73994f848b52e14ed58";
+    sha256 = "1zlwhir33hha2p3l08wnb4njnfdg69j88ycf1fa4q3x86qm3r7hw";
+  };
+
+  buildInputs = [
+    cmake
+    qtbase
+    qtwebkit
+  ];
+
+  nativeBuildInputs = [
+    makeQtWrapper
+  ];
+
+  postInstall = ''
+    wrapQtProgram "$out/bin/trojita"
+  '';
+
+
+  meta = {
+    description = "A Qt IMAP e-mail client";
+    homepage = http://trojita.flaska.net/;
+    license = with lib.licenses; [ gpl2 gpl3 ];
+  };
+
+}