nixpkgs/pkgs/applications/misc/skate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
776 B
Nix
Raw Normal View History

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