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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
462 B
Nix
Raw Normal View History

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