about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/notmuch-bower
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2017-10-14 11:08:04 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-10-14 10:08:04 +0100
commit5cca8800a466d6d0a0741bda9db7480288ce50a1 (patch)
tree0a311ae7676645160211450de39e1f2f3f9ed68d /pkgs/applications/networking/mailreaders/notmuch-bower
parentc2758900a1be38e394b9dab5f1201e8703b695a5 (diff)
downloadnixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar.gz
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar.bz2
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar.lz
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar.xz
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.tar.zst
nixlib-5cca8800a466d6d0a0741bda9db7480288ce50a1.zip
notmuch-bower: init at 2017-09-27 (#29856)
* bower: init and add erictapen as maintainer

* bower: fix up

* notmuch-bower: rename from bower
Diffstat (limited to 'pkgs/applications/networking/mailreaders/notmuch-bower')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch-bower/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
new file mode 100644
index 000000000000..dbdd64d06b5e
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, gawk, mercury, pandoc, ncurses, gpgme }:
+
+stdenv.mkDerivation rec {
+  name = "notmuch-bower-${version}";
+  version = "2017-09-27";
+
+  src = fetchFromGitHub {
+    owner = "wangp";
+    repo = "bower";
+    rev = "e4918ed581984bf2813f51f007a0aaaa7fa0da7f";
+    sha256 = "13np5yharjik1pp23cfgffi0g0ikl6pl5sqqyy0ki7gk7gyy913i";
+  };
+
+  nativeBuildInputs = [ gawk mercury pandoc ];
+
+  buildInputs = [ ncurses gpgme ];
+
+  makeFlags = [ "PARALLEL=-j$(NIX_BUILD_CORES)" "bower" "man" ];
+
+  installPhase = ''
+    mkdir -p $out/bin
+    mv bower $out/bin/
+    mkdir -p $out/share/man/man1
+    mv bower.1 $out/share/man/man1/
+  '';
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/wangp/bower;
+    description = "A curses terminal client for the Notmuch email system";
+    maintainers = with maintainers; [ erictapen ];
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+  };
+}