From c9f21862006f50937f22f51155ee81ff47399730 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 7 Mar 2020 16:27:55 +0100 Subject: bump --- nix/notmuch-links.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 nix/notmuch-links.nix (limited to 'nix/notmuch-links.nix') diff --git a/nix/notmuch-links.nix b/nix/notmuch-links.nix new file mode 100644 index 0000000..67ebe3b --- /dev/null +++ b/nix/notmuch-links.nix @@ -0,0 +1,24 @@ +{ stdenv +, notmuch-tcp +, zsh, coreutils, gawk, gnused +}: + +stdenv.mkDerivation rec { + pname = "notmuch-links"; + version = "0.1"; + src = ../notmuch-links; + + phases = [ "buildPhase" "installPhase" ]; + + inherit zsh coreutils gawk gnused; + notmuchtcp = notmuch-tcp; + + buildPhase = '' + substituteAll $src notmuch-links + ''; + + installPhase = '' + install -m 0755 -D -t $out/bin \ + notmuch-links + ''; +} -- cgit v1.2.3