nixpkgs/pkgs/tools/security/sedutil/default.nix

35 lines
631 B
Nix
Raw Normal View History

2021-10-31 11:20:31 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
2018-03-19 04:06:42 +00:00
stdenv.mkDerivation rec {
pname = "sedutil";
2021-10-31 11:20:31 +00:00
version = "1.20.0";
2018-03-19 04:06:42 +00:00
src = fetchFromGitHub {
2021-10-31 11:20:31 +00:00
owner = "Drive-Trust-Alliance";
repo = "sedutil";
rev = version;
sha256 = "sha256-NG/7aqe48ShHWW5hW8axYWV4+zX0dBE7Wy9q58l0S3E=";
2018-03-19 04:06:42 +00:00
};
postPatch = ''
patchShebangs .
'';
2021-10-31 11:20:31 +00:00
nativeBuildInputs = [
autoreconfHook
];
2018-03-19 04:06:42 +00:00
enableParallelBuilding = true;
meta = with lib; {
2018-03-19 04:06:42 +00:00
description = "DTA sedutil Self encrypting drive software";
2021-10-31 11:20:31 +00:00
homepage = "https://www.drivetrust.com";
license = licenses.gpl3Plus;
platforms = platforms.linux;
2018-03-19 04:06:42 +00:00
};
}