1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5}:
6
7stdenv.mkDerivation rec {
8 pname = "sedutil";
9 version = "1.20.0";
10
11 src = fetchFromGitHub {
12 owner = "Drive-Trust-Alliance";
13 repo = "sedutil";
14 rev = version;
15 sha256 = "sha256-NG/7aqe48ShHWW5hW8axYWV4+zX0dBE7Wy9q58l0S3E=";
16 };
17
18 postPatch = ''
19 patchShebangs .
20 '';
21
22 nativeBuildInputs = [
23 autoreconfHook
24 ];
25
26 enableParallelBuilding = true;
27
28 meta = with lib; {
29 description = "DTA sedutil Self encrypting drive software";
30 homepage = "https://www.drivetrust.com";
31 license = licenses.gpl3Plus;
32 platforms = platforms.linux;
33 };
34}