nixpkgs/pkgs/applications/misc/writefreely/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
765 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2021-03-29 16:47:49 +00:00
buildGoModule rec {
pname = "writefreely";
version = "0.14.0";
2021-03-29 16:47:49 +00:00
src = fetchFromGitHub {
owner = "writefreely";
2021-03-29 16:47:49 +00:00
repo = pname;
rev = "v${version}";
sha256 = "sha256-vOoTAr33FMQaHIwpwIX0g/KJWQvDn3oVJg14kEY6FIQ=";
2021-03-29 16:47:49 +00:00
};
vendorHash = "sha256-xTo/zbz9pSjvNntr5dnytiJ7oRAdtEuyiu4mJZgwHTc=";
2021-03-29 16:47:49 +00:00
ldflags = [ "-s" "-w" "-X github.com/writefreely/writefreely.softwareVer=${version}" ];
tags = [ "sqlite" ];
2021-03-29 16:47:49 +00:00
subPackages = [ "cmd/writefreely" ];
meta = with lib; {
description = "Build a digital writing community";
homepage = "https://github.com/writefreely/writefreely";
2021-03-29 16:47:49 +00:00
license = licenses.agpl3Only;
2023-12-27 07:59:08 +00:00
maintainers = with maintainers; [ soopyc ];
2024-02-11 02:19:15 +00:00
mainProgram = "writefreely";
2021-03-29 16:47:49 +00:00
};
}