libevent: Use fetchurl

This commit is contained in:
Eelco Dolstra 2015-08-21 15:28:30 +02:00
parent b1104d6082
commit e1fe23a4be

View file

@ -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 ];