Skip to content

Commit

Permalink
tweego: init at 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPWill committed Jul 23, 2024
1 parent 2afa4a1 commit 63332fe
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/by-name/tw/tweego/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "tweego";
version = "2.1.1";

src = fetchFromGitHub {
owner = "tmedwards";
repo = "tweego";
rev = "v${version}";
hash = "sha256-LE85mSByTz7uFjs0XtrpfD7OARoMPE56FpjFw+FlGYw=";
};

proxyVendor = true;
vendorHash = "sha256-1O27CiCXgrD0RC+3jrVxAiq/RnI2s1FW2/uoBAd1fF8=";

preBuild = ''
go mod tidy
'';

meta = {
description = "Free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go";
homepage = "https://www.motoslave.net/tweego";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [chrispwill];
mainProgram = "tweego";
};
}

0 comments on commit 63332fe

Please sign in to comment.