tomb: format with nixpkgs-fmt

This commit is contained in:
Anthony Roussel 2023-10-23 15:38:36 +02:00
parent 3dc0248dbc
commit fb2a8bdf99
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -1,5 +1,15 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, gettext, zsh, pinentry, cryptsetup, gnupg, util-linux, e2fsprogs, sudo
{ stdenv
, lib
, fetchFromGitHub
, makeWrapper
, gettext
, zsh
, pinentry
, cryptsetup
, gnupg
, util-linux
, e2fsprogs
, sudo
}:
stdenv.mkDerivation rec {
@ -7,9 +17,9 @@ stdenv.mkDerivation rec {
version = "2.9";
src = fetchFromGitHub {
owner = "dyne";
repo = "Tomb";
rev = "v${version}";
owner = "dyne";
repo = "Tomb";
rev = "v${version}";
sha256 = "0d6vmfcf4kd0p2bcljmdnyc2fmbwvar81cc472zx86r7yc3ih102";
};
@ -27,18 +37,18 @@ stdenv.mkDerivation rec {
installCheckPhase = "$out/bin/tomb -h";
installPhase = ''
install -Dm755 tomb $out/bin/tomb
install -Dm755 tomb $out/bin/tomb
install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1
wrapProgram $out/bin/tomb \
--prefix PATH : $out/bin:${lib.makeBinPath [ cryptsetup gettext gnupg pinentry util-linux e2fsprogs ]}
--prefix PATH : $out/bin:${lib.makeBinPath [ cryptsetup e2fsprogs gettext gnupg pinentry util-linux ]}
'';
meta = with lib; {
description = "File encryption on GNU/Linux";
homepage = "https://www.dyne.org/software/tomb/";
license = licenses.gpl3;
homepage = "https://www.dyne.org/software/tomb/";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
platforms = platforms.linux;
};
}