1{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "igmpproxy";
5 version = "0.4";
6
7 src = fetchFromGitHub {
8 owner = "pali";
9 repo = "igmpproxy";
10 rev = version;
11 sha256 = "sha256-kv8XtZ/z8zPHYSZ4k4arn2Y+L2xegr2DwhvlguJV820=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15
16 meta = with lib; {
17 description = "A daemon that routes multicast using IGMP forwarding";
18 homepage = "https://github.com/pali/igmpproxy/";
19 changelog = "https://github.com/pali/igmpproxy/releases/tag/${version}";
20 license = licenses.gpl2Plus;
21 maintainers = [ maintainers.sdier ];
22 # The maintainer is using this on linux, but if you test it on other platforms
23 # please add them here!
24 platforms = platforms.linux;
25 };
26}