mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
30 lines
715 B
Nix
30 lines
715 B
Nix
{ lib, 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";
|
|
};
|
|
|
|
patches = [
|
|
./ppp-2.5.0-compat.patch
|
|
];
|
|
|
|
buildInputs = [ ppp ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace plugins/Makefile --replace "install -o root" "install"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://poptop.sourceforge.net/dox/";
|
|
description = "PPTP Server for Linux";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ obadz ];
|
|
license = licenses.gpl2Only;
|
|
};
|
|
}
|