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