2021-12-19 01:06:50 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "skate";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.2.2";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charmbracelet";
|
|
|
|
repo = "skate";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-Kum8IdgvRC75RLafCac0fkNn/VKvWFW48IK5tqLH/ME=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
proxyVendor = true;
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-/qZB/GGEkoqRoNhEmZw9Q2lsUPZRg5/xVxWgdBZTMLk=";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A personal multi-machine syncable key value store";
|
|
|
|
homepage = "https://github.com/charmbracelet/skate";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/charmbracelet/skate/releases/tag/${src.rev}";
|
2021-12-19 01:06:50 +00:00
|
|
|
license = licenses.mit;
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ figsoda penguwin ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "skate";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
}
|