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