forked from mirrors/nixpkgs
33 lines
844 B
Nix
33 lines
844 B
Nix
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
|
|
|
let
|
|
owner = "CircleCI-Public";
|
|
pname = "circleci-cli";
|
|
version = "0.1.2569";
|
|
in
|
|
buildGoPackage rec {
|
|
name = "${pname}-${version}";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0ixiqx8rmia02r44zbhw149p5x9r9cv1fsnlhl8p2x5zd2bdr18x";
|
|
};
|
|
|
|
goPackagePath = "github.com/${owner}/${pname}";
|
|
|
|
meta = with stdenv.lib; {
|
|
# Box blurb edited from the AUR package circleci-cli
|
|
description = ''
|
|
Command to enable you to reproduce the CircleCI environment locally and
|
|
run jobs as if they were running on the hosted CirleCI application.
|
|
'';
|
|
maintainers = with maintainers; [ synthetica ];
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
homepage = https://circleci.com/;
|
|
};
|
|
}
|