8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q=";
20 # Fix gcc-13 build by pulling missing header. UPstream also fixed it
21 # in next major version, but there are many other patch dependencies.
22 # TODO: remove on next major version update
23 sed -e '1i #include <cstdint>' -i src/scsiencrypt.h
26 nativeBuildInputs = [ autoreconfHook ];
28 passthru.updateScript = gitUpdater { };
31 description = "SCSI Tape Encryption Manager";
32 mainProgram = "stenc";
33 homepage = "https://github.com/scsitape/stenc";
34 license = lib.licenses.gpl2Only;
35 maintainers = with lib.maintainers; [ woffs ];
36 platforms = lib.platforms.linux;