Merge pull request #117953 from SuperSandro2000/writefreely
writefreely: init at 0.12.0
This commit is contained in:
commit
11aadf2e08
2 changed files with 36 additions and 0 deletions
34
pkgs/applications/misc/writefreely/default.nix
Normal file
34
pkgs/applications/misc/writefreely/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, go-bindata }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "writefreely";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "writeas";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-6LpRfDu3xvE1eIRLfZliKnzsrrG5pjjf2ydxn9HQJJU=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-U17AkMJQr/OIMED0i2ThcNVw3+aOvRLbpLNP/wEv6k8=";
|
||||
|
||||
nativeBuildInputs = [ go-bindata ];
|
||||
|
||||
preBuild = ''
|
||||
make assets
|
||||
export buildFlagsArray=(
|
||||
"-ldflags=-s -w -X github.com/writeas/writefreely.softwareVer=${version}"
|
||||
"-tags='sqlite'"
|
||||
)
|
||||
'';
|
||||
|
||||
subPackages = [ "cmd/writefreely" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build a digital writing community";
|
||||
homepage = "https://github.com/writeas/writefreely";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -905,6 +905,8 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation;
|
||||
};
|
||||
|
||||
writefreely = callPackage ../applications/misc/writefreely { };
|
||||
|
||||
x3270 = callPackage ../applications/terminal-emulators/x3270 { };
|
||||
|
||||
xterm = callPackage ../applications/terminal-emulators/xterm { };
|
||||
|
|
Loading…
Reference in a new issue