Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 systemdLibs, 7 libnvme, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "sedutil"; 12 version = "1.49.13"; 13 14 src = fetchFromGitHub { 15 owner = "Drive-Trust-Alliance"; 16 repo = "sedutil"; 17 tag = version; 18 hash = "sha256-bSeTbpeecufXNZKNb5A0gWYF3qkBc2fSmNTZxkDW+Vc="; 19 }; 20 21 postPatch = '' 22 patchShebangs . 23 ''; 24 25 nativeBuildInputs = [ autoreconfHook ]; 26 27 buildInputs = [ 28 systemdLibs 29 libnvme 30 ]; 31 32 enableParallelBuilding = true; 33 34 meta = { 35 description = "DTA sedutil Self encrypting drive software"; 36 homepage = "https://www.drivetrust.com"; 37 license = lib.licenses.gpl3Plus; 38 platforms = lib.platforms.linux; 39 mainProgram = "sedutil-cli"; 40 }; 41}