summary refs log tree commit diff
path: root/pkgs/tools/networking/corerad/default.nix
diff options
context:
space:
mode:
authorMatt Layher <mdlayher@gmail.com>2020-01-02 09:17:09 -0500
committerJon <jonringer@users.noreply.github.com>2020-01-06 13:49:14 -0800
commit987a5ffea575bc7699e4322fcbb686034a6a4fd3 (patch)
tree5815fb04ad8a842424c4d02ade58fa40dc0f53e0 /pkgs/tools/networking/corerad/default.nix
parentb8d09084d291bec74e774cc1ff3413a9a3c9ca97 (diff)
downloadnixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar.gz
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar.bz2
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar.lz
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar.xz
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.tar.zst
nixpkgs-987a5ffea575bc7699e4322fcbb686034a6a4fd3.zip
corerad: init at v0.1.4
Signed-off-by: Matt Layher <mdlayher@gmail.com>
Diffstat (limited to 'pkgs/tools/networking/corerad/default.nix')
-rw-r--r--pkgs/tools/networking/corerad/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/corerad/default.nix b/pkgs/tools/networking/corerad/default.nix
new file mode 100644
index 00000000000..6f9ea09eea1
--- /dev/null
+++ b/pkgs/tools/networking/corerad/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "corerad";
+  version = "0.1.4";
+
+  goPackagePath = "github.com/mdlayher/corerad";
+
+  src = fetchFromGitHub {
+    owner = "mdlayher";
+    repo = "corerad";
+    rev = "v${version}";
+    sha256 = "0qlmmgdz69gqqn6h5kb3gsjyj7lm6pcfcx9xlmrxhisj914ij76r";
+  };
+
+  modSha256 = "0vim91yvw0cf9bd10hfanz8azq7q19lp2x61rs44ycx9zm3qdhcw";
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/mdlayher/corerad";
+    description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ mdlayher ];
+  };
+}