Merge pull request #326794 from anthonyroussel/update/tomb

tomb: 2.10 -> 2.11
This commit is contained in:
Peder Bergebakken Sundt
2024-07-26 00:15:30 +02:00
committed by GitHub
2 changed files with 39 additions and 31 deletions
@@ -1,40 +1,43 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, substituteAll
, makeWrapper
, zsh
, coreutils
, cryptsetup
, e2fsprogs
, file
, gawk
, getent
, gettext
, gnugrep
, gnupg
, libargon2
, lsof
, pinentry
, util-linux
, nix-update-script
{
coreutils,
cryptsetup,
e2fsprogs,
fetchFromGitHub,
file,
gawk,
getent,
gettext,
gnugrep,
gnupg,
lib,
libargon2,
lsof,
makeWrapper,
nix-update-script,
pinentry,
stdenvNoCC,
util-linux,
zsh,
}:
stdenvNoCC.mkDerivation rec {
pname = "tomb";
version = "2.10";
version = "2.11";
src = fetchFromGitHub {
owner = "dyne";
repo = "Tomb";
rev = "refs/tags/v${version}";
hash = "sha256-lLxQJX0P6b6lbXEcrq45EsX9iKiayZ9XkhqgMfpN3/w=";
hash = "sha256-H9etbodTKxROJAITbViQQ6tkEr9rKNITTHfsGGQbyR0=";
};
buildInputs = [ zsh pinentry ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
pinentry
zsh
];
postPatch = ''
# if not, it shows .tomb-wrapped when running
substituteInPlace tomb \
@@ -46,7 +49,8 @@ stdenvNoCC.mkDerivation rec {
install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1
wrapProgram $out/bin/tomb \
--prefix PATH : $out/bin:${lib.makeBinPath [
--prefix PATH : $out/bin:${
lib.makeBinPath [
coreutils
cryptsetup
e2fsprogs
@@ -60,20 +64,24 @@ stdenvNoCC.mkDerivation rec {
lsof
pinentry
util-linux
]}
]
}
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
meta = {
description = "File encryption on GNU/Linux";
homepage = "https://www.dyne.org/software/tomb/";
changelog = "https://github.com/dyne/Tomb/blob/v${version}/ChangeLog.md";
license = licenses.gpl3Only;
license = lib.licenses.gpl3Only;
mainProgram = "tomb";
maintainers = with maintainers; [ peterhoeg anthonyroussel ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [
peterhoeg
anthonyroussel
];
platforms = lib.platforms.linux;
};
}
+1 -1
View File
@@ -39983,7 +39983,7 @@ with pkgs;
linkchecker = callPackage ../tools/networking/linkchecker { };
tomb = callPackage ../os-specific/linux/tomb {
tomb = callPackage ../by-name/to/tomb/package.nix {
pinentry = pinentry-curses;
};