1{
2 lib,
3 fetchFromGitHub,
4 stdenv,
5 curl,
6 pkg-config,
7 byacc,
8 flex,
9 fetchpatch,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "gcli";
14 version = "2.8.0";
15
16 src = fetchFromGitHub {
17 owner = "herrhotzenplotz";
18 repo = "gcli";
19 rev = "v${version}";
20 hash = "sha256-s71RImg/N8v9h472upI94Pae/Zlw27f4Kc9SCavP1oY=";
21 };
22
23 nativeBuildInputs = [
24 pkg-config
25 byacc
26 flex
27 ];
28 buildInputs = [ curl ];
29
30 meta = {
31 description = "Portable Git(Hub|Lab|ea) CLI tool";
32 homepage = "https://herrhotzenplotz.de/gcli/";
33 changelog = "https://github.com/herrhotzenplotz/gcli/releases/tag/${version}";
34 license = lib.licenses.bsd2;
35 mainProgram = "gcli";
36 maintainers = with lib.maintainers; [ kenran ];
37 platforms = lib.platforms.unix;
38 };
39}