3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/pptpd/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
665 B
Nix

{ stdenv, fetchurl, ppp }:
stdenv.mkDerivation rec {
pname = "pptpd";
version = "1.4.0";
src = fetchurl {
url = "mirror://sourceforge/poptop/${pname}/${pname}-${version}/${pname}-${version}.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 ];
license = licenses.gpl2;
};
}