2012-01-06 00:15:48 +01:00
|
|
|
{stdenv, fetchurl, zlib, bzip2, xz, m4}:
|
2009-02-17 17:42:51 +01:00
|
|
|
|
2012-01-06 00:15:48 +01:00
|
|
|
# TODO: Look at the hardcoded paths to kernel, modules etc.
|
2009-02-17 17:42:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-06 00:15:48 +01:00
|
|
|
name = "elfutils-${version}";
|
|
|
|
version = "0.152";
|
2009-02-17 17:42:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-08-09 17:37:14 +02:00
|
|
|
urls = [
|
2012-01-06 00:15:48 +01:00
|
|
|
"https://fedorahosted.org/releases/e/l/elfutils/${version}/${name}.tar.bz2"
|
2010-08-09 17:37:14 +02:00
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
];
|
2012-01-06 00:15:48 +01:00
|
|
|
sha256 = "19mlgxyzcwiv64ynj2cibgkiw4qkm3n37kizvy6555dsmlaqfybq";
|
2009-02-17 17:42:51 +01:00
|
|
|
};
|
|
|
|
|
2012-01-06 00:15:48 +01:00
|
|
|
buildInputs = [ zlib bzip2 xz ];
|
|
|
|
|
|
|
|
buildNativeInputs = [m4];
|
2009-02-17 17:42:51 +01:00
|
|
|
|
|
|
|
dontAddDisableDepTrack = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://fedorahosted.org/elfutils/;
|
|
|
|
};
|
|
|
|
}
|