3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/skate/default.nix

27 lines
661 B
Nix
Raw Normal View History

2021-12-07 10:16:10 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "skate";
2021-12-15 17:51:29 +00:00
version = "0.1.2";
2021-12-07 10:16:10 +00:00
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "skate";
rev = "v${version}";
2021-12-15 17:51:29 +00:00
sha256 = "sha256-Z+7unYmwPLOhJAMAhMwjapAmslTNxmP01myjgEOBfu8=";
2021-12-07 10:16:10 +00:00
};
2021-12-15 17:51:29 +00:00
vendorSha256 = "sha256-CdYyiUiy2q2boEHjdXkgRzVI+6fEb+fBrlInl6IrFjk=";
2021-12-07 10:16:10 +00:00
doCheck = false;
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";
license = licenses.mit;
maintainers = with maintainers; [ penguwin ];
};
}