3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/pptpd/default.nix

27 lines
676 B
Nix
Raw Normal View History

2016-06-17 23:59:58 +01:00
{ stdenv, fetchurl, ppp }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pptpd";
version = "1.4.0";
src = fetchurl {
url = "mirror://sourceforge/poptop/${pname}/${name}/${name}.tar.gz";
sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg";
};
buildInputs = [ ppp ];
postPatch = ''
substituteInPlace plugins/Makefile --replace "install -o root" "install"
'';
meta = with stdenv.lib; {
homepage = http://poptop.sourceforge.net/dox/;
description = "The PPTP Server for Linux";
platforms = platforms.linux;
maintainers = with maintainers; [ obadz ];
2018-09-10 20:44:15 +01:00
license = licenses.gpl2;
2016-06-17 23:59:58 +01:00
};
}