3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/hdparm/default.nix
Ryan Mulligan 4a18b4222a hdparm: 9.54 -> 9.55
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/9abla9hl91wvxvcbrif9xjhsb164lgxc-hdparm-9.55/bin/hdparm -h` got 0 exit code
- ran `/nix/store/9abla9hl91wvxvcbrif9xjhsb164lgxc-hdparm-9.55/bin/hdparm -V` and found version 9.55
- ran `/nix/store/9abla9hl91wvxvcbrif9xjhsb164lgxc-hdparm-9.55/bin/hdparm -h` and found version 9.55
- found 9.55 with grep in /nix/store/9abla9hl91wvxvcbrif9xjhsb164lgxc-hdparm-9.55
- directory tree listing: https://gist.github.com/ded98c9055722d9f66f8346ae792663c
2018-03-22 22:00:54 +02:00

25 lines
580 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "hdparm-9.55";
src = fetchurl {
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
sha256 = "1ivdvrzimaayiq03by8mcq0mhmdljndj06h012zkdpw34irnpixm";
};
preBuild = ''
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
'';
meta = with stdenv.lib; {
description = "A tool to get/set ATA/SATA drive parameters under Linux";
homepage = https://sourceforge.net/projects/hdparm/;
platforms = platforms.linux;
license = licenses.bsd2;
maintainers = [ maintainers.fuuzetsu ];
};
}