diff --git a/pkgs/by-name/gc/gcli/package.nix b/pkgs/by-name/gc/gcli/package.nix new file mode 100644 index 000000000000..081f96f0804e --- /dev/null +++ b/pkgs/by-name/gc/gcli/package.nix @@ -0,0 +1,33 @@ +{ lib +, fetchFromGitHub +, stdenv +, curl +, autoreconfHook +, pkg-config +, byacc +, flex +}: + +stdenv.mkDerivation rec { + pname = "gcli"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "herrhotzenplotz"; + repo = "gcli"; + rev = version; + hash = "sha256-ry+T39gFVPfHazAbv97UFpMIH1Dbbw6tZwsn9V4uRec="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config byacc flex ]; + buildInputs = [ curl ]; + + meta = with lib; { + description = "Portable Git(Hub|Lab|ea) CLI tool"; + homepage = "https://herrhotzenplotz.de/gcli/"; + changelog = "https://github.com/herrhotzenplotz/gcli/releases/tag/${version}"; + license = licenses.bsd2; + mainProgram = "gcli"; + maintainers = with maintainers; [ kenran ]; + }; +}