sequin: init at 0.2.0

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Co-authored-by: Donovan Glover <donovan@dglover.co>
This commit is contained in:
Carlos Alexandro Becker 2024-11-21 22:25:52 -03:00
parent e87e7defad
commit cac396db24
No known key found for this signature in database

View File

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "sequin";
version = "0.2.0";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "sequin";
rev = "refs/tags/v${version}";
hash = "sha256-uXfpsrjkJ/qdzoaJXY4vJJPEgcnH7wwFvfHskmEK5VA=";
};
vendorHash = "sha256-gdFmvLnf5xW7MKOlRueeoLDTCs7LgMtKiVHS0PAwomc=";
ldflags = [
"-X main.Version=${version}"
];
meta = {
description = "Human-readable ANSI sequences";
homepage = "https://github.com/charmbracelet/sequin";
changelog = "https://github.com/charmbracelet/sequin/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ caarlos0 ];
mainProgram = "sequin";
};
}