git-email-contacts

email yourself patches from git-contacts
git clone git://jb55.com/git-email-contacts
Log | Files | Refs | README | LICENSE

commit 952c0cd39d538faa82b00f1c330bae66caaee04c
parent d29d7ee5df4f748e290a6ea18983597afb7b1a90
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 21 Jun 2021 14:40:02 -0700

package

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Adefault.nix | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/default.nix b/default.nix @@ -0,0 +1,19 @@ +{ lib, stdenv, gitFull, coreutils, xonsh, makeWrapper }: +let paths = lib.makeBinPath [ gitFull coreutils ]; +in +stdenv.mkDerivation { + name = "git-email-contacts"; + version = "0.1"; + + src = ./.; + + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ xonsh ]; + + installPhase = '' + mkdir -p $out/bin + cp git-email-contacts $out/bin + patchShebangs + wrapProgram $out/bin/git-email-contacts --prefix PATH : "${paths}" + ''; +}