1{ stdenv, fetchFromGitHub, buildGoPackage }:
2
3let
4 owner = "CircleCI-Public";
5 pname = "circleci-cli";
6 version = "0.1.2569";
7in
8buildGoPackage rec {
9 name = "${pname}-${version}";
10 inherit version;
11
12 src = fetchFromGitHub {
13 inherit owner;
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "0ixiqx8rmia02r44zbhw149p5x9r9cv1fsnlhl8p2x5zd2bdr18x";
17 };
18
19 goPackagePath = "github.com/${owner}/${pname}";
20
21 meta = with stdenv.lib; {
22 # Box blurb edited from the AUR package circleci-cli
23 description = ''
24 Command to enable you to reproduce the CircleCI environment locally and
25 run jobs as if they were running on the hosted CirleCI application.
26 '';
27 maintainers = with maintainers; [ synthetica ];
28 platforms = platforms.unix;
29 license = licenses.mit;
30 homepage = https://circleci.com/;
31 };
32}