1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/tools/networking/network-manager/pptp.nix
Yury G. Kudryashov 5fd7590140 Add NetworkManager-pptp
svn path=/nixpkgs/trunk/; revision=29271
2011-09-14 15:50:14 +00:00

25 lines
589 B
Nix

{ 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";
}