Files
nixpkgs/pkgs/by-name/gc/gcli/package.nix
2026-08-10 06:42:51 +00:00

39 lines
815 B
Nix

{
lib,
fetchFromSourcehut,
stdenv,
curl,
pkg-config,
byacc,
flex,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gcli";
version = "2.13.0";
src = fetchFromSourcehut {
owner = "~herrhotzenplotz";
repo = "gcli";
rev = "v${finalAttrs.version}";
hash = "sha256-Ow899ehIln+2E5j/MNA7XCRSBNCeaJ16ePR/u0qXvos=";
};
nativeBuildInputs = [
pkg-config
byacc
flex
];
buildInputs = [ curl ];
meta = {
description = "Portable Git(Hub|Lab|ea) CLI tool";
homepage = "https://herrhotzenplotz.de/gcli/";
changelog = "https://git.sr.ht/~herrhotzenplotz/gcli/tree/v${finalAttrs.version}/item/Changelog.md";
license = lib.licenses.bsd2;
mainProgram = "gcli";
maintainers = with lib.maintainers; [ kenran ];
platforms = lib.platforms.unix;
};
})