2021-10-31 11:20:31 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2018-03-19 04:06:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|