tomb: 2.12 -> 2.13 (#431098)

This commit is contained in:
Weijia Wang
2025-08-22 22:44:11 +02:00
committed by GitHub
+7 -4
View File
@@ -43,13 +43,13 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tomb";
version = "2.12";
version = "2.13";
src = fetchFromGitHub {
owner = "dyne";
repo = "Tomb";
repo = "tomb";
tag = "v${finalAttrs.version}";
hash = "sha256-P8YS6PlfrAHY2EsSyCG8QAeDbN7ChHmjxtqIAtMLomk=";
hash = "sha256-z7LkCes0wg+1bZrNXXy4Lh5VwMotCULJQy5DmCisu+Q=";
};
nativeBuildInputs = [ makeWrapper ];
@@ -63,6 +63,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
# if not, it shows .tomb-wrapped when running
substituteInPlace tomb \
--replace-fail 'TOMBEXEC=$0' 'TOMBEXEC=tomb'
# Fix version variable
sed -i 's/VERSION=".*"/VERSION="${finalAttrs.version}"/' tomb
'';
installPhase = ''
@@ -84,7 +87,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
meta = {
description = "File encryption on GNU/Linux";
homepage = "https://dyne.org/tomb/";
changelog = "https://github.com/dyne/Tomb/blob/v${finalAttrs.version}/ChangeLog.md";
changelog = "https://github.com/dyne/tomb/blob/v${finalAttrs.version}/ChangeLog.md";
license = lib.licenses.gpl3Only;
mainProgram = "tomb";
maintainers = with lib.maintainers; [