nixpkgs/pkgs/by-name/gc/gcli/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
765 B
Nix
Raw Normal View History

2023-11-24 15:34:29 +00:00
{ lib
, fetchFromGitHub
, stdenv
, curl
, autoreconfHook
, pkg-config
, byacc
, flex
}:
stdenv.mkDerivation rec {
pname = "gcli";
2024-02-06 05:35:23 +00:00
version = "2.2.0";
2023-11-24 15:34:29 +00:00
src = fetchFromGitHub {
owner = "herrhotzenplotz";
repo = "gcli";
rev = version;
2024-02-06 05:35:23 +00:00
hash = "sha256-extVTaTWVFXSTiXlZ/MtiiFdc/KZEDkc+A7xxylJaM4=";
2023-11-24 15:34:29 +00:00
};
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 ];
2024-02-06 20:55:03 +00:00
platforms = platforms.unix;
2023-11-24 15:34:29 +00:00
};
}