chore(3p/honk): Remove honk derivation

HONK!

Change-Id: Ib2b783078c7e7998c9824fd3277694a84589cd01
This commit is contained in:
Vincent Ambo 2020-06-19 01:55:55 +01:00
parent 298291d9ae
commit 0973f7bb55

View file

@ -1,26 +0,0 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation rec {
name = "honk-${version}";
version = "0.9.0";
nativeBuildInputs = [ pkgs.go ];
buildInputs = [ pkgs.sqlite ];
src = builtins.fetchTarball {
url = "https://humungus.tedunangst.com/r/honk/d/honk-${version}.tgz";
sha256 = "0fj1ybhsra626q5vy1sy9aigxx5rjda5mgq74m7kzw7an4z2a67m";
};
# Go tooling needs $HOME to exist because, well, who knows.
preBuild = ''
mkdir home && export HOME=$PWD/home
'';
installPhase = ''
install -D honk $out/bin/honk
install -D docs/honk.1 $out/share/man/man1/honk.1
install -D docs/honk.3 $out/share/man/man3/honk.3
install -D docs/honk.5 $out/share/man/man5/honk.5
install -D docs/honk.8 $out/share/man/man8/honk.8
'';
}