writefreely: format with nixfmt

This commit is contained in:
Cassie Cheung
2024-10-08 18:13:04 +08:00
parent 852a489ac7
commit 85848e7d8b
+14 -3
View File
@@ -1,4 +1,9 @@
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
{
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
}:
buildGoModule rec {
pname = "writefreely";
@@ -13,13 +18,19 @@ buildGoModule rec {
vendorHash = "sha256-HmEh8WmKbdAimvzsAiaXcqSXoU1DJx06+s1EH1JZmwo=";
ldflags = [ "-s" "-w" "-X github.com/writefreely/writefreely.softwareVer=${version}" ];
ldflags = [
"-s"
"-w"
"-X github.com/writefreely/writefreely.softwareVer=${version}"
];
tags = [ "sqlite" ];
subPackages = [ "cmd/writefreely" ];
passthru.tests = { inherit (nixosTests) writefreely; };
passthru.tests = {
inherit (nixosTests) writefreely;
};
meta = with lib; {
description = "Build a digital writing community";