5390997c83
Diff: https://github.com/charmbracelet/skate/compare/v0.2.1...v0.2.2 Changelog: https://github.com/charmbracelet/skate/releases/tag/v0.2.2
26 lines
749 B
Nix
26 lines
749 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "skate";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "charmbracelet";
|
|
repo = "skate";
|
|
rev = "v${version}";
|
|
hash = "sha256-Kum8IdgvRC75RLafCac0fkNn/VKvWFW48IK5tqLH/ME=";
|
|
};
|
|
|
|
proxyVendor = true;
|
|
vendorHash = "sha256-xNM4qmpv+wcoiGrQ585N3VoKW6tio0cdHmUHRl2Pvio=";
|
|
|
|
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";
|
|
changelog = "https://github.com/charmbracelet/skate/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda penguwin ];
|
|
};
|
|
}
|