diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-17 18:15:59 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-19 12:37:00 +0200 |
commit | 51653037ae186c40d8543863cbc67f0a67239941 (patch) | |
tree | 2a3fcd0f7859bdfbd0dcbec372db977e74d547b3 /pkgs/servers/honk | |
parent | 7e0f47ff118108eaf143341daebd8211799321b3 (diff) |
honk: update formatting
Diffstat (limited to 'pkgs/servers/honk')
-rw-r--r-- | pkgs/servers/honk/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/servers/honk/default.nix b/pkgs/servers/honk/default.nix index a6f26dea7396c..8b968dc49eea2 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 ]; }; } |