1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/misc/circleci-cli/default.nix
2019-08-28 11:07:32 +00:00

33 lines
839 B
Nix

{ stdenv, fetchFromGitHub, buildGoPackage }:
let
owner = "CircleCI-Public";
pname = "circleci-cli";
version = "0.1.2569";
in
buildGoPackage {
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.unix;
license = licenses.mit;
homepage = https://circleci.com/;
};
}