2021-01-11 08:54:33 +01:00
|
|
|
{lib, stdenv, fetchurl}:
|
2009-04-16 14:23:53 +02:00
|
|
|
|
2016-04-29 19:38:48 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sdparm";
|
2021-08-28 03:25:25 +02:00
|
|
|
version = "1.12";
|
2009-04-16 14:23:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
|
2021-08-28 03:25:25 +02:00
|
|
|
sha256 = "sha256-xMnvr9vrZi4vlxJwfsSQkyvU0BC7ESmueplSZUburb4=";
|
2009-04-16 14:23:53 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-03-09 23:09:17 +01:00
|
|
|
homepage = "http://sg.danny.cz/sg/sdparm.html";
|
2009-04-16 14:23:53 +02:00
|
|
|
description = "A utility to access SCSI device parameters";
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.bsd3;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2009-04-16 14:23:53 +02:00
|
|
|
};
|
|
|
|
}
|