mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
09049153e5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hdparm/versions. These checks were done: - built on NixOS - ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -h` got 0 exit code - ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -V` and found version 9.56 - ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -h` and found version 9.56 - found 9.56 with grep in /nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56 - directory tree listing: https://gist.github.com/288d8bff26d3af52b38fbd8055ee2aac
25 lines
580 B
Nix
25 lines
580 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hdparm-9.56";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
|
|
sha256 = "1np42qyhb503khvacnjcl3hb1dqly68gj0a1xip3j5qhbxlyvybg";
|
|
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|