diff options
author | Tristan Helmich <tristan.helmich@gmail.com> | 2016-12-31 10:58:25 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-07-10 09:36:04 +0200 |
commit | 7b44b7abd0047b202abe682a2d21ad649ee708a9 (patch) | |
tree | 66792b4edd81e971392291ab8f64b585c657956f /pkgs/applications | |
parent | 8c73028fc63d9444acf6470a26f4c6a0452b37bc (diff) |
ndppd: init at 0.2.5
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/ndppd/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/ndppd/default.nix b/pkgs/applications/networking/ndppd/default.nix new file mode 100644 index 000000000000..a15c441b9cc6 --- /dev/null +++ b/pkgs/applications/networking/ndppd/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, gzip, ... }: + +stdenv.mkDerivation rec { + name = "ndppd-${version}"; + version = "0.2.5"; + + src = fetchFromGitHub { + owner = "DanielAdolfsson"; + repo = "ndppd"; + rev = "${version}"; + sha256 = "0niri5q9qyyyw5lmjpxk19pv3v4srjvmvyd5k6ks99mvqczjx9c0"; + }; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + preConfigure = '' + substituteInPlace Makefile --replace /bin/gzip ${gzip}/bin/gzip + ''; + + meta = { + description = "A daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces"; + homepage = "https://github.com/DanielAdolfsson/ndppd"; + license = stdenv.lib.licenses.gpl3; + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.fadenb ]; + }; +} |