mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
607b0d3e80
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done svn path=/nixpkgs/trunk/; revision=9198
15 lines
294 B
Nix
15 lines
294 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "hdparm-6.9";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/hdparm/hdparm-6.9.tar.gz;
|
|
sha256 = "01pyb9jmcv9nl1ig39s1i58fwgijqhjc5q1vxscbw0bd563fvrna";
|
|
};
|
|
|
|
preBuild = "
|
|
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
|
|
";
|
|
}
|