23 stdenvNoCC.mkDerivation rec {
27 src = fetchFromGitHub {
30 rev = "refs/tags/v${version}";
31 hash = "sha256-H9etbodTKxROJAITbViQQ6tkEr9rKNITTHfsGGQbyR0=";
34 nativeBuildInputs = [ makeWrapper ];
42 # if not, it shows .tomb-wrapped when running
43 substituteInPlace tomb \
44 --replace-fail 'TOMBEXEC=$0' 'TOMBEXEC=tomb'
48 install -Dm755 tomb $out/bin/tomb
49 install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1
51 wrapProgram $out/bin/tomb \
52 --prefix PATH : $out/bin:${
72 updateScript = nix-update-script { };
76 description = "File encryption on GNU/Linux";
77 homepage = "https://www.dyne.org/software/tomb/";
78 changelog = "https://github.com/dyne/Tomb/blob/v${version}/ChangeLog.md";
79 license = lib.licenses.gpl3Only;
81 maintainers = with lib.maintainers; [
85 platforms = lib.platforms.linux;