diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-03-24 14:06:39 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-03-29 13:09:02 +0300 |
commit | fe263f4c7edff5850da6c036fb7842dbf3798773 (patch) | |
tree | d4f6bdb59e0f55bfc46ba9bdbd0d33078d464556 /pkgs/tools/networking/xl2tpd | |
parent | da26c13df525772d6d84fc90ae6e95870d6a1174 (diff) | |
download | nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar.gz nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar.bz2 nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar.lz nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar.xz nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.tar.zst nixlib-fe263f4c7edff5850da6c036fb7842dbf3798773.zip |
xl2tpd: add package
Diffstat (limited to 'pkgs/tools/networking/xl2tpd')
-rw-r--r-- | pkgs/tools/networking/xl2tpd/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/xl2tpd/default.nix b/pkgs/tools/networking/xl2tpd/default.nix new file mode 100644 index 000000000000..50b341778eee --- /dev/null +++ b/pkgs/tools/networking/xl2tpd/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, libpcap }: + +let version = "1.3.6"; +in stdenv.mkDerivation { + name = "xl2tpd-${version}"; + + src = fetchFromGitHub { + owner = "xelerance"; + repo = "xl2tpd"; + rev = "v${version}"; + sha256 = "17lnsk9fsyfp2g5hha7psim6047wj9qs8x4y4w06gl6bbf36jm9z"; + }; + + buildInputs = [ libpcap ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + homepage = http://www.xelerance.com/software/xl2tpd/; + description = "Layer 2 Tunnelling Protocol Daemon (RFC 2661)"; + platforms = platforms.linux; + license = licenses.gpl2; + maintainers = with maintainers; [ abbradar ]; + }; +} |