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