honk: update formatting

This commit is contained in:
Pol Dellaiera 2023-08-17 18:15:59 +02:00
parent 7e0f47ff11
commit 51653037ae
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -1,4 +1,9 @@
{ lib, buildGoModule, fetchurl, installShellFiles, sqlite }: { lib
, buildGoModule
, fetchurl
, sqlite
, installShellFiles
}:
buildGoModule rec { buildGoModule rec {
pname = "honk"; pname = "honk";
@ -10,8 +15,14 @@ buildGoModule rec {
}; };
vendorHash = null; vendorHash = null;
buildInputs = [ sqlite ]; buildInputs = [
nativeBuildInputs = [ installShellFiles ]; sqlite
];
nativeBuildInputs = [
installShellFiles
];
subPackages = [ "." ]; subPackages = [ "." ];
# This susbtitution is not mandatory. It is only existing to have something # This susbtitution is not mandatory. It is only existing to have something
@ -38,12 +49,12 @@ buildGoModule rec {
mv views $out/share/${pname} mv views $out/share/${pname}
''; '';
meta = with lib; { meta = {
changelog = "https://humungus.tedunangst.com/r/honk/v/v${version}/f/docs/changelog.txt"; changelog = "https://humungus.tedunangst.com/r/honk/v/v${version}/f/docs/changelog.txt";
description = "An ActivityPub server with minimal setup and support costs."; description = "An ActivityPub server with minimal setup and support costs.";
homepage = "https://humungus.tedunangst.com/r/honk"; homepage = "https://humungus.tedunangst.com/r/honk";
license = licenses.isc; license = lib.licenses.isc;
mainProgram = "honk"; mainProgram = "honk";
maintainers = with maintainers; [ huyngo ]; maintainers = with lib.maintainers; [ huyngo ];
}; };
} }