Files
nixpkgs/pkgs/by-name/se/sedutil/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

42 lines
760 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
systemdLibs,
libnvme,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sedutil";
version = "1.49.13";
src = fetchFromGitHub {
owner = "Drive-Trust-Alliance";
repo = "sedutil";
tag = finalAttrs.version;
hash = "sha256-bSeTbpeecufXNZKNb5A0gWYF3qkBc2fSmNTZxkDW+Vc=";
};
postPatch = ''
patchShebangs .
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
systemdLibs
libnvme
];
enableParallelBuilding = true;
meta = {
description = "DTA sedutil Self encrypting drive software";
homepage = "https://www.drivetrust.com";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
mainProgram = "sedutil-cli";
};
})