sequin: init at 0.2.0 (#358034)

This commit is contained in:
Donovan Glover 2024-11-28 01:32:56 +00:00 committed by GitHub
commit 49efe5ed3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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