libevent: Use fetchurl
This commit is contained in:
parent
b1104d6082
commit
e1fe23a4be
@ -1,14 +1,12 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, python, findutils }:
|
{ stdenv, fetchurl, autoreconfHook, python, findutils }:
|
||||||
|
|
||||||
let version = "2.0.22"; in
|
let version = "2.0.22"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libevent-${version}";
|
name = "libevent-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "libevent";
|
url = "mirror://sourceforge/levent/libevent-${version}-stable.tar.gz";
|
||||||
repo = "libevent";
|
sha256 = "18qz9qfwrkakmazdlwxvjmw8p76g70n3faikwvdwznns1agw9hki";
|
||||||
rev = "release-${version}-stable";
|
|
||||||
sha256 = "1x2437af9j870i7l37dav1i2g9z93lbz406kyimx4nq5qcx5463p";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user