about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/sedutil/default.nix
blob: 4877a8adfcefa1d8ce1e73e0f77df684dc206e63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "sedutil";
  version = "1.15.1";

  src = fetchFromGitHub {
    owner  = "Drive-Trust-Alliance";
    repo   = "sedutil";
    rev    = version;
    sha256 = "0zg5v27vbrzzl2vqzks91zj48z30qgcshkqkm1g8ycnhi145l0mf";
  };

  postPatch = ''
    patchShebangs .
  '';

  nativeBuildInputs = [ autoreconfHook ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "DTA sedutil Self encrypting drive software";
    homepage    = "https://www.drivetrust.com";
    license     = licenses.gpl3;
    platforms   = platforms.linux;
  };
}