Files
nicknb f8f49559bf gcli: 2.11.0 -> 2.12.0, point to sourcehut, use finalAttrs
The GitHub repo seems to exists purely as a mirror and secondary issue
tracker with SourceHut being the preferred platform.
2026-07-25 18:11:01 +02:00

39 lines
815 B
Nix

{
lib,
fetchFromSourcehut,
stdenv,
curl,
pkg-config,
byacc,
flex,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gcli";
version = "2.12.0";
src = fetchFromSourcehut {
owner = "~herrhotzenplotz";
repo = "gcli";
rev = "v${finalAttrs.version}";
hash = "sha256-k691ocg5rkvGJZDp6X9PRIDaNvVPLcJRoXvwPbyxjLE=";
};
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;
};
})