diff --git a/pkgs/tools/security/sedutil/default.nix b/pkgs/tools/security/sedutil/default.nix new file mode 100644 index 000000000000..343992a6322f --- /dev/null +++ b/pkgs/tools/security/sedutil/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 98001c416fae..bc37c3572173 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -625,6 +625,8 @@ with pkgs; ecdsautils = callPackage ../tools/security/ecdsautils { }; + sedutil = callPackage ../tools/security/sedutil { }; + elvish = callPackage ../shells/elvish { }; encryptr = callPackage ../tools/security/encryptr {