nixpkgs/pkgs/tools/networking/network-manager/pptp.nix

25 lines
589 B
Nix
Raw Normal View History

{ stdenv, fetchurl, networkmanager, pptp, ppp, xz, intltool, pkgconfig }:
let
pn = "networkmanager-pptp";
gnome_pn = "NetworkManager-pptp";
major = "0.9";
version = "0.9.0";
src = fetchurl {
url = "mirror://gnome/sources/${gnome_pn}/${major}/${gnome_pn}-${version}.tar.xz";
sha256 = "1mfbavcnc871sxkisisnic472am0qmkgw7caj0b86sdir2q83nlp";
};
in
stdenv.mkDerivation rec {
name = "${pn}-${version}";
inherit src;
buildInputs = [ networkmanager pptp ppp ];
buildNativeInputs = [ xz intltool pkgconfig ];
configureFlags = "--without-gnome --disable-nls";
}