Merge pull request #40581 from peterhoeg/p/sedutil
sedutil: init at 1.15.1 and corresponding nixos module
This commit is contained in:
commit
7f27566efd
|
@ -102,6 +102,7 @@
|
|||
./programs/qt5ct.nix
|
||||
./programs/rootston.nix
|
||||
./programs/screen.nix
|
||||
./programs/sedutil.nix
|
||||
./programs/slock.nix
|
||||
./programs/shadow.nix
|
||||
./programs/shell.nix
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.programs.sedutil;
|
||||
|
||||
in {
|
||||
options.programs.sedutil.enable = mkEnableOption "sedutil";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot.kernelParams = [
|
||||
"libata.allow_tpm=1"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [ sedutil ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sedutil-${version}";
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -629,6 +629,8 @@ with pkgs;
|
|||
|
||||
ecdsautils = callPackage ../tools/security/ecdsautils { };
|
||||
|
||||
sedutil = callPackage ../tools/security/sedutil { };
|
||||
|
||||
elvish = callPackage ../shells/elvish { };
|
||||
|
||||
encryptr = callPackage ../tools/security/encryptr {
|
||||
|
|
Loading…
Reference in New Issue