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