depot/pkgs/by-name/tw/tweego/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
706 B
Nix

{
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";
};
}