1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation (finalAttrs: {
8 url = "mirror://sourceforge/hdparm/hdparm-${finalAttrs.version}.tar.gz";
9 sha256 = "sha256-0Ukp+RDQYJMucX6TgkJdR8LnFEI1pTcT1VqU995TWks=";
13 "sbindir=${placeholder "out"}/sbin"
14 "manprefix=${placeholder "out"}"
18 description = "Tool to get/set ATA/SATA drive parameters under Linux";
19 homepage = "https://sourceforge.net/projects/hdparm/";
20 platforms = platforms.linux;
21 license = licenses.bsd2;
22 mainProgram = "hdparm";