python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / misc / writefreely / default.nix
blob0f9631edbfaaadb75eaab08f58a0cca1c1bb244c
1 { lib, buildGoModule, fetchFromGitHub, go-bindata }:
3 buildGoModule rec {
4   pname = "writefreely";
5   version = "0.13.1";
7   src = fetchFromGitHub {
8     owner = "writeas";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-qYceijC/u8G9vr7uhApWWyWD9P65pLJCTjePEvh+oXA=";
12   };
14   vendorSha256 = "sha256-CBPvtc3K9hr1oEmC+yUe3kPSWx20k6eMRqoxsf3NfCE=";
16   nativeBuildInputs = [ go-bindata ];
18   preBuild = ''
19     make assets
20   '';
22   ldflags = [ "-s" "-w" "-X github.com/writeas/writefreely.softwareVer=${version}" ];
24   tags = [ "sqlite" ];
26   subPackages = [ "cmd/writefreely" ];
28   meta = with lib; {
29     description = "Build a digital writing community";
30     homepage = "https://github.com/writeas/writefreely";
31     license = licenses.agpl3Only;
32     maintainers = with maintainers; [ SuperSandro2000 ];
33   };