From 51653037ae186c40d8543863cbc67f0a67239941 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 17 Aug 2023 18:15:59 +0200 Subject: [PATCH] honk: update formatting --- pkgs/servers/honk/default.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/honk/default.nix b/pkgs/servers/honk/default.nix index a6f26dea739..8b968dc49ee 100644 --- a/pkgs/servers/honk/default.nix +++ b/pkgs/servers/honk/default.nix @@ -1,4 +1,9 @@ -{ lib, buildGoModule, fetchurl, installShellFiles, sqlite }: +{ lib +, buildGoModule +, fetchurl +, sqlite +, installShellFiles +}: buildGoModule rec { pname = "honk"; @@ -10,8 +15,14 @@ buildGoModule rec { }; vendorHash = null; - buildInputs = [ sqlite ]; - nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ + sqlite + ]; + + nativeBuildInputs = [ + installShellFiles + ]; + subPackages = [ "." ]; # This susbtitution is not mandatory. It is only existing to have something @@ -38,12 +49,12 @@ buildGoModule rec { mv views $out/share/${pname} ''; - meta = with lib; { + meta = { changelog = "https://humungus.tedunangst.com/r/honk/v/v${version}/f/docs/changelog.txt"; description = "An ActivityPub server with minimal setup and support costs."; homepage = "https://humungus.tedunangst.com/r/honk"; - license = licenses.isc; + license = lib.licenses.isc; mainProgram = "honk"; - maintainers = with maintainers; [ huyngo ]; + maintainers = with lib.maintainers; [ huyngo ]; }; }