about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix b/nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix
index 9cd6083f40cc..5f737cacb465 100644
--- a/nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix
+++ b/nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix
@@ -1,18 +1,20 @@
-{stdenv, fetchurl, openssl, libX11, libgssglue, pkgconfig
+{stdenv, fetchFromGitHub, openssl, libX11, libgssglue, pkgconfig, autoreconfHook
 , enableCredssp ? (!stdenv.isDarwin)
 } :
 
 stdenv.mkDerivation (rec {
   pname = "rdesktop";
-  version = "1.8.3";
+  version = "1.8.6";
   name = "${pname}-${version}";
 
-  src = fetchurl {
-    url = "mirror://sourceforge/${pname}/${name}.tar.gz";
-    sha256 = "1r7c1rjmw2xzq8fw0scyb453gy9z19774z1z8ldmzzsfndb03cl8";
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "02sbhnqbasa54c75c86qw9w9h9sxxbnldj7bjv2gvn18lmq5rm20";
   };
 
-  nativeBuildInputs = [pkgconfig];
+  nativeBuildInputs = [pkgconfig autoreconfHook];
   buildInputs = [openssl libX11]
     ++ stdenv.lib.optional enableCredssp libgssglue;