libevent: Use fetchurl
This commit is contained in:
parent
b1104d6082
commit
e1fe23a4be
1 changed files with 4 additions and 6 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue