b0f4345467
svn path=/nixpkgs/trunk/; revision=29361
20 lines
486 B
Nix
20 lines
486 B
Nix
{stdenv, fetchurl, linuxHeaders, glibc, libtool, gettext}:
|
|
|
|
assert stdenv.isLinux && stdenv.system != "powerpc-linux";
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cpufrequtils-008";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/utils/kernel/cpufreq/cpufrequtils-008.tar.gz";
|
|
md5 = "52d3e09e47ffef634833f7fab168eccf";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -e "s@= /usr/bin/@= @g" \
|
|
-e "s@/usr/@$out/@" \
|
|
-i Makefile
|
|
'';
|
|
|
|
buildInputs = [ linuxHeaders glibc libtool gettext ];
|
|
}
|