The circleci-cli package appears to be quite out of date. I could use some help in updating it.
Here is the version in nixpkgs:
{ 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/;
};
}
If you want to update it in nixpkgs you should edit the expression in nixpkgs directly
And it seems that the package didn't have any dependencies before, so updating just the source won't work, you also need to make its dependencies available
The
circleci-cli
package appears to be quite out of date. I could use some help in updating it.Here is the version in nixpkgs:
Here is my attempt at updating it:
And here is the error message I get when I try to build:
Any advice?