From fb2a8bdf99042dd200b4bd0d930c8cca0d28f08c Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Mon, 23 Oct 2023 15:38:36 +0200 Subject: [PATCH] tomb: format with nixpkgs-fmt --- pkgs/os-specific/linux/tomb/default.nix | 30 ++++++++++++++++--------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/tomb/default.nix b/pkgs/os-specific/linux/tomb/default.nix index af04476aa1d0..5043d9e06551 100644 --- a/pkgs/os-specific/linux/tomb/default.nix +++ b/pkgs/os-specific/linux/tomb/default.nix @@ -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; }; }