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

27 lines
661 B
Nix
Raw Normal View History

2021-12-07 11:16:10 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "skate";
2021-12-22 13:09:28 +01:00
version = "0.1.3";
2021-12-07 11:16:10 +01:00
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "skate";
rev = "v${version}";
2021-12-22 13:09:28 +01:00
sha256 = "sha256-rUOFx0ebZs3xmsSz9oFvjINaHp9gIe7E/5UoJJ47aZc=";
2021-12-07 11:16:10 +01:00
};
2022-01-31 23:09:13 +01:00
vendorSha256 = "sha256-2jyhDSPO/Xg3xBCA93SMSlm7D+ze0MGbNtRpL82IAsk=";
2021-12-07 11:16:10 +01: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 ];
};
}