nixpkgs/pkgs/development/tools/misc/circleci-cli/default.nix

33 lines
843 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.unix;
license = licenses.mit;
homepage = https://circleci.com/;
};
}