2021-12-07 11:16:10 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "skate";
|
2023-06-14 18:16:07 +02:00
|
|
|
version = "0.2.2";
|
2021-12-07 11:16:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charmbracelet";
|
|
|
|
repo = "skate";
|
|
|
|
rev = "v${version}";
|
2023-06-14 18:16:07 +02:00
|
|
|
hash = "sha256-Kum8IdgvRC75RLafCac0fkNn/VKvWFW48IK5tqLH/ME=";
|
2021-12-07 11:16:10 +01:00
|
|
|
};
|
|
|
|
|
2023-06-14 18:16:07 +02:00
|
|
|
proxyVendor = true;
|
2024-04-05 22:59:10 +02:00
|
|
|
vendorHash = "sha256-/qZB/GGEkoqRoNhEmZw9Q2lsUPZRg5/xVxWgdBZTMLk=";
|
2021-12-07 11:16:10 +01: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-06-14 18:16:07 +02:00
|
|
|
changelog = "https://github.com/charmbracelet/skate/releases/tag/${src.rev}";
|
2021-12-07 11:16:10 +01:00
|
|
|
license = licenses.mit;
|
2023-06-14 18:16:07 +02:00
|
|
|
maintainers = with maintainers; [ figsoda penguwin ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "skate";
|
2021-12-07 11:16:10 +01:00
|
|
|
};
|
|
|
|
}
|