nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 671 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ppp, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "pptpd"; 10 version = "1.5.0"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/poptop/${pname}/${pname}-${version}/${pname}-${version}.tar.gz"; 14 sha256 = "sha256-anJChLHOAOoj99dgjQgYQ6EMio2H2VHLLqhucKobTnc="; 15 }; 16 17 buildInputs = [ ppp ]; 18 19 postPatch = '' 20 substituteInPlace plugins/Makefile --replace-fail "install -o root" "install" 21 ''; 22 23 meta = { 24 homepage = "https://poptop.sourceforge.net/dox/"; 25 description = "PPTP Server for Linux"; 26 platforms = lib.platforms.linux; 27 maintainers = with lib.maintainers; [ obadz ]; 28 license = lib.licenses.gpl2Only; 29 }; 30}