summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/cunicu.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-05-25 13:17:57 +0200
committertv <tv@krebsco.de>2023-05-25 13:17:57 +0200
commit24b9fc11d6c9345d39a0ec0f97d58cdbdbde7f0c (patch)
tree892b97a02c33e5d7870a5bad4dbd3912f2731ced /krebs/5pkgs/simple/cunicu.nix
parent56cff01ac49351e4a80a6003e96393922026f0ad (diff)
cunicu: init at g3ed8109
Diffstat (limited to 'krebs/5pkgs/simple/cunicu.nix')
-rw-r--r--krebs/5pkgs/simple/cunicu.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/cunicu.nix b/krebs/5pkgs/simple/cunicu.nix
new file mode 100644
index 000000000..4375a760c
--- /dev/null
+++ b/krebs/5pkgs/simple/cunicu.nix
@@ -0,0 +1,22 @@
+{ lib, pkgs }:
+
+pkgs.buildGo120Module rec {
+ pname = "cunicu";
+ version = "g${lib.substring 0 7 src.rev}";
+
+ buildInputs = [
+ pkgs.libpcap
+ ];
+
+ # XXX tries to access https://relay.cunicu.li
+ doCheck = false;
+
+ src = pkgs.fetchFromGitHub {
+ owner = "stv0g";
+ repo = "cunicu";
+ rev = "3ed8109bef97a10a438e5658c41823b7f812db8e";
+ hash = "sha256-FpOJ6/jmnbpufc+kgKwlLtFhOcc2CTe+FvqeV8WEGMc=";
+ };
+
+ vendorHash = "sha256-eAawhJK9K8/7FCQiYMI9XCPePYsCVF045Di7SpRZvL4=";
+}