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

19 lines
463 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
2016-04-29 19:38:48 +02:00
stdenv.mkDerivation rec {
pname = "sdparm";
2020-03-09 23:09:17 +01:00
version = "1.11";
src = fetchurl {
url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
2020-03-09 23:09:17 +01:00
sha256 = "1nqjc4w2w47zavcbf5xmm53x1zbwgljaw1lpajcdi537cgy32fa8";
};
meta = with lib; {
2020-03-09 23:09:17 +01:00
homepage = "http://sg.danny.cz/sg/sdparm.html";
description = "A utility to access SCSI device parameters";
license = licenses.bsd3;
platforms = with platforms; linux;
};
}