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
Patrick Hilhorst 1c40a3eb05 circleci-cli: 0.1.0 -> 0.1.2307 (#46983)
* 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
2018-09-20 23:54:11 +02:00

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/;
};
}