tomb: 2.11 -> 2.12

Diff: https://github.com/dyne/tomb/compare/v2.11...v2.12

authored by

R. Ryantm and committed by
Peter Hoeg
b9670000 229800a6

+33 -24
+33 -24
pkgs/by-name/to/tomb/package.nix
··· 1 1 { 2 + acl, 2 3 coreutils, 3 4 cryptsetup, 4 5 e2fsprogs, ··· 16 17 nix-update-script, 17 18 pinentry, 18 19 stdenvNoCC, 20 + testers, 19 21 util-linux, 20 22 zsh, 21 23 }: 22 24 23 - stdenvNoCC.mkDerivation rec { 25 + let 26 + runtimeDependencies = [ 27 + acl # setfacl 28 + coreutils # shred 29 + cryptsetup 30 + e2fsprogs # resize2fs 31 + file 32 + gawk 33 + getent 34 + gettext 35 + gnugrep 36 + gnupg 37 + libargon2 38 + lsof 39 + pinentry 40 + util-linux 41 + ]; 42 + 43 + in 44 + stdenvNoCC.mkDerivation (finalAttrs: { 24 45 pname = "tomb"; 25 - version = "2.11"; 46 + version = "2.12"; 26 47 27 48 src = fetchFromGitHub { 28 49 owner = "dyne"; 29 50 repo = "Tomb"; 30 - tag = "v${version}"; 31 - hash = "sha256-H9etbodTKxROJAITbViQQ6tkEr9rKNITTHfsGGQbyR0="; 51 + tag = "v${finalAttrs.version}"; 52 + hash = "sha256-P8YS6PlfrAHY2EsSyCG8QAeDbN7ChHmjxtqIAtMLomk="; 32 53 }; 33 54 34 55 nativeBuildInputs = [ makeWrapper ]; ··· 49 70 install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1 50 71 51 72 wrapProgram $out/bin/tomb \ 52 - --prefix PATH : $out/bin:${ 53 - lib.makeBinPath [ 54 - coreutils 55 - cryptsetup 56 - e2fsprogs 57 - file 58 - gawk 59 - getent 60 - gettext 61 - gnugrep 62 - gnupg 63 - libargon2 64 - lsof 65 - pinentry 66 - util-linux 67 - ] 68 - } 73 + --prefix PATH : $out/bin:${lib.makeBinPath runtimeDependencies} 69 74 ''; 70 75 71 76 passthru = { 77 + tests.version = testers.testVersion { 78 + package = finalAttrs.finalPackage; 79 + command = "tomb -v"; 80 + }; 72 81 updateScript = nix-update-script { }; 73 82 }; 74 83 75 84 meta = { 76 85 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"; 86 + homepage = "https://dyne.org/tomb/"; 87 + changelog = "https://github.com/dyne/Tomb/blob/v${finalAttrs.version}/ChangeLog.md"; 79 88 license = lib.licenses.gpl3Only; 80 89 mainProgram = "tomb"; 81 90 maintainers = with lib.maintainers; [ ··· 84 93 ]; 85 94 platforms = lib.platforms.linux; 86 95 }; 87 - } 96 + })