default.nix (685B)
1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3 buildGoModule rec { 4 pname = "spot"; 5 version = "1.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "umputun"; 9 repo = "spot"; 10 rev = "v${version}"; 11 hash = "sha256-aacG/s/zo4gMBsRug2i7vUyu1WUg3s+F8wtLsSVt7HQ="; 12 }; 13 14 vendorHash = null; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 18 doCheck = false; 19 20 postInstall = '' 21 mv $out/bin/{secrets,spot-secrets} 22 installManPage *.1 23 ''; 24 25 meta = with lib; { 26 description = "A tool for effortless deployment and configuration management"; 27 homepage = "https://simplotask.com/"; 28 maintainers = [ maintainers.sikmir ]; 29 license = licenses.mit; 30 }; 31 }