feat(third_party): Add derivation for honk
This commit is contained in:
parent
55eba03d6e
commit
26a52edfdb
2 changed files with 22 additions and 0 deletions
1
third_party/default.nix
vendored
1
third_party/default.nix
vendored
|
@ -92,6 +92,7 @@ let
|
||||||
rustPlatform
|
rustPlatform
|
||||||
rustc
|
rustc
|
||||||
sbcl
|
sbcl
|
||||||
|
sqlite
|
||||||
stdenv
|
stdenv
|
||||||
stern
|
stern
|
||||||
symlinkJoin
|
symlinkJoin
|
||||||
|
|
21
third_party/honk/default.nix
vendored
Normal file
21
third_party/honk/default.nix
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue