1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-8zGgqa0z3KYSYVaYlSnTET7QJ+Mdp+FVJ5MD2pyh7Ns=";
14 vendorHash = "sha256-p8+M+pRp12P7tYlFpXjU94JcJOugQpD8rFdowhonh74=";
15 subPackages = [ "." ];
17 ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
20 install -m755 $out/bin/cli $out/bin/sem
24 description = "A cli to operate on semaphore ci (2.0)";
25 homepage = "https://github.com/semaphoreci/cli";
26 changelog = "https://github.com/semaphoreci/cli/releases/tag/v${version}";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ liberatys ];
29 platforms = platforms.linux;