diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/sstp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/sstp/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/tools/networking/sstp/default.nix b/nixpkgs/pkgs/tools/networking/sstp/default.nix index b297f2565f9a..b93d6cbd9cfb 100644 --- a/nixpkgs/pkgs/tools/networking/sstp/default.nix +++ b/nixpkgs/pkgs/tools/networking/sstp/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, pkg-config, ppp, libevent, openssl }: +{ lib, stdenv, fetchFromGitLab, pkg-config, ppp, libevent, openssl, autoreconfHook }: stdenv.mkDerivation rec { pname = "sstp-client"; - version = "1.0.17"; + version = "unstable-2023-03-25"; - src = fetchurl { - url = "mirror://sourceforge/sstp-client/sstp-client/sstp-client-${version}.tar.gz"; - sha256 = "sha256-Kd07nHERrWmDzWY9Wi8Gnh+KlakTqryOFmlwFGZXkl0="; + src = fetchFromGitLab { + owner = "sstp-project"; + repo = pname; + rev = "3f7835df9ac5e84729903ca536cf65e4a7b04c6c"; + hash = "sha256-8VF5thSABqf5SXEDCa+0dyDt7kVrQcs6deWLlYWM8dg="; }; postPatch = '' @@ -20,13 +22,13 @@ stdenv.mkDerivation rec { "--with-pppd-plugin-dir=$(out)/lib/pppd" ]; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config autoreconfHook ]; buildInputs = [ libevent openssl ppp ]; meta = with lib; { description = "SSTP client for Linux"; - homepage = "http://sstp-client.sourceforge.net/"; + homepage = "https://sstp-client.sourceforge.net/"; platforms = platforms.linux; maintainers = with maintainers; [ ]; license = licenses.gpl2Plus; |