blob: 0041c11b422d87bbe11c232bc3afd5842d898b75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv
, notmuch-ssh
, zsh, coreutils, gawk, gnused
}:
stdenv.mkDerivation rec {
pname = "notmuch-links";
version = "0.1";
src = ../notmuch-links;
phases = [ "buildPhase" "installPhase" ];
inherit zsh coreutils gawk gnused;
notmuchssh = notmuch-ssh;
buildPhase = ''
substituteAll $src notmuch-links
'';
installPhase = ''
install -m 0755 -D -t $out/bin \
notmuch-links
'';
}
|