nixpkgs/pkgs/os-specific/linux/sdparm/default.nix

19 lines
463 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
2016-04-29 18:38:48 +01:00
stdenv.mkDerivation rec {
pname = "sdparm";
2020-03-09 22:09:17 +00:00
version = "1.11";
src = fetchurl {
url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
2020-03-09 22:09:17 +00:00
sha256 = "1nqjc4w2w47zavcbf5xmm53x1zbwgljaw1lpajcdi537cgy32fa8";
};
meta = with lib; {
2020-03-09 22:09:17 +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;
};
}