mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
1c40a3eb05
* circleci-cli: 0.1.0 -> 0.1.2307 We are also building from source now, instead of using a pre-packaged version. This means we need Go. Also did minor refactors. * circleci-cli: removed unneeded dependencies
33 lines
844 B
Nix
33 lines
844 B
Nix
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
|
|
|
let
|
|
owner = "CircleCI-Public";
|
|
pname = "circleci-cli";
|
|
version = "0.1.2307";
|
|
in
|
|
buildGoPackage rec {
|
|
name = "${pname}-${version}";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0z71jnq42idvhgpgn3mdpbajmgn4b41rpifv5qxn3h1pgi08f75s";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|