mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
25 lines
647 B
Nix
25 lines
647 B
Nix
{ 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 ];
|
|
};
|
|
}
|