rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / pptpd / default.nix
blobd1cb90089e0c5fd8d5f0635fe2c8d3be7cd5d24a
1 { lib, stdenv, fetchurl, ppp }:
3 stdenv.mkDerivation rec {
4   pname   = "pptpd";
5   version = "1.4.0";
7   src = fetchurl {
8     url    = "mirror://sourceforge/poptop/${pname}/${pname}-${version}/${pname}-${version}.tar.gz";
9     sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg";
10   };
12   patches = [
13     ./ppp-2.5.0-compat.patch
14   ];
16   buildInputs = [ ppp ];
18   postPatch = ''
19     substituteInPlace plugins/Makefile --replace "install -o root" "install"
20   '';
22   meta = with lib; {
23     homepage    = "https://poptop.sourceforge.net/dox/";
24     description = "The PPTP Server for Linux";
25     platforms   = platforms.linux;
26     maintainers = with maintainers; [ obadz ];
27     license = licenses.gpl2Only;
28   };