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