2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sdparm";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-xMnvr9vrZi4vlxJwfsSQkyvU0BC7ESmueplSZUburb4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://sg.danny.cz/sg/sdparm.html";
|
|
|
|
description = "A utility to access SCSI device parameters";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|