circleci-cli: init at 2018-05-12 (#43432)

This commit is contained in:
Patrick Hilhorst 2018-07-13 12:00:09 +02:00 committed by xeji
parent 9bbb84f622
commit 32f4fcaefe
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, docker, makeWrapper }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "circleci-cli";
version = "2018-05-12";
src = fetchFromGitHub {
owner = "circleci";
repo = "local-cli";
rev = "2c7c1a74e3c3ffb8eebc03fccd782b1bfe9e940a";
sha256 = "0fp0fz0xr7ynp32lqcmaigl9p45wk1hd2gv9i5q5bj9syj3g7qzm";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p "$out/bin/"
cp "$src/circleci.sh" "$out/bin/circleci"
'';
postFixup = ''
wrapProgram $out/bin/circleci \
--prefix "PATH" : "${docker}/bin"
'';
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/;
};
}

View File

@ -1680,6 +1680,8 @@ with pkgs;
ciopfs = callPackage ../tools/filesystems/ciopfs { };
circleci-cli = callPackage ../development/tools/misc/circleci-cli { };
citrix_receiver = callPackage ../applications/networking/remote/citrix-receiver { };
citrix_receiver_13_10_0 = citrix_receiver.override { version = "13.10.0"; };
citrix_receiver_13_9_1 = citrix_receiver.override { version = "13.9.1"; };