Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "skate"; 5 version = "0.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "charmbracelet"; 9 repo = "skate"; 10 rev = "v${version}"; 11 sha256 = "sha256-7ieXQM1Z4q4f37YSEcGs7sBAZH+64OCrWp7uBP5VNqI="; 12 }; 13 14 vendorSha256 = "sha256-/Q8T4/KaHglhdxMQg9v5H+mHZpuHFcLRAbh6CzaFJKU="; 15 16 doCheck = false; 17 18 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; 19 20 meta = with lib; { 21 description = "A personal multi-machine syncable key value store"; 22 homepage = "https://github.com/charmbracelet/skate"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ penguwin ]; 25 }; 26}