mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
19 lines
462 B
Nix
19 lines
462 B
Nix
{lib, stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sdparm";
|
|
version = "1.12";
|
|
|
|
src = fetchurl {
|
|
url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-xMnvr9vrZi4vlxJwfsSQkyvU0BC7ESmueplSZUburb4=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "http://sg.danny.cz/sg/sdparm.html";
|
|
description = "A utility to access SCSI device parameters";
|
|
license = licenses.bsd3;
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|