aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix b/nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix
new file mode 100644
index 00000000000..49f0ac53365
--- /dev/null
+++ b/nixpkgs/pkgs/applications/networking/mailreaders/hasmail/default.nix
@@ -0,0 +1,41 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+, pkgconfig
+, gobject-introspection
+, pango
+, cairo
+, gtk2
+}:
+
+buildGoModule rec {
+ pname = "hasmail-unstable";
+ version = "2019-08-24";
+
+ src = fetchFromGitHub {
+ owner = "jonhoo";
+ repo = "hasmail";
+ rev = "eb52536d26815383bfe5990cd5ace8bb9d036c8d";
+ sha256 = "1p6kwa5xk1mb1fkkxz1b5rcyp5kb4zc8nfif1gk6fab6wbdj9ia1";
+ };
+
+ modSha256 = "0z3asz7v1izg81f9xifx9s2sp5hly173hajsn9idi3bkv0h78is2";
+
+ nativeBuildInputs = [
+ pkgconfig
+ ];
+
+ buildInputs = [
+ pango
+ cairo
+ gtk2
+ ];
+
+ meta = with lib; {
+ description = "Simple tray icon for detecting new email on IMAP servers";
+ homepage = "https://github.com/jonhoo/hasmail";
+ license = licenses.unlicense;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.all;
+ };
+}