diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix index 19878a24e956..284a09bc9275 100644 --- a/pkgs/development/libraries/libevent/default.nix +++ b/pkgs/development/libraries/libevent/default.nix @@ -1,14 +1,12 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, python, findutils }: +{ stdenv, fetchurl, autoreconfHook, python, findutils }: let version = "2.0.22"; in stdenv.mkDerivation { name = "libevent-${version}"; - src = fetchFromGitHub { - owner = "libevent"; - repo = "libevent"; - rev = "release-${version}-stable"; - sha256 = "1x2437af9j870i7l37dav1i2g9z93lbz406kyimx4nq5qcx5463p"; + src = fetchurl { + url = "mirror://sourceforge/levent/libevent-${version}-stable.tar.gz"; + sha256 = "18qz9qfwrkakmazdlwxvjmw8p76g70n3faikwvdwznns1agw9hki"; }; nativeBuildInputs = [ autoreconfHook ];