2017-10-14 10:08:04 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gawk, mercury, pandoc, ncurses, gpgme }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "notmuch-bower";
|
2019-08-19 20:55:15 +01:00
|
|
|
version = "0.11";
|
2017-10-14 10:08:04 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wangp";
|
|
|
|
repo = "bower";
|
2018-09-29 07:29:10 +01:00
|
|
|
rev = version;
|
2019-08-19 20:55:15 +01:00
|
|
|
sha256 = "0vhac8yjnhb1gz60jfzg27spyn96c1rr849gc6vjym5xamw7zp0v";
|
2017-10-14 10:08:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/wangp/bower";
|
2017-10-14 10:08:04 +01:00
|
|
|
description = "A curses terminal client for the Notmuch email system";
|
|
|
|
maintainers = with maintainers; [ erictapen ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|