mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
fac9a5c936
svn path=/nixpkgs/branches/stdenv-updates/; revision=19067
21 lines
496 B
Nix
21 lines
496 B
Nix
{stdenv, fetchurl, linuxHeaders, glibc, libtool, gettext}:
|
|
|
|
assert stdenv.isLinux && stdenv.system != "powerpc-linux";
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cpufrequtils-005";
|
|
|
|
src = fetchurl {
|
|
url = http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-005.tar.gz;
|
|
md5 = "100a8220a546ce61ce943d4107e67db9";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -e "s@= /usr/bin/@= @g" \
|
|
-e "s@/usr/@$out/@" \
|
|
-i Makefile
|
|
'';
|
|
|
|
buildInputs = [ linuxHeaders glibc libtool gettext ];
|
|
}
|