The GitHub repo seems to exists purely as a mirror and secondary issue tracker with SourceHut being the preferred platform.
39 lines
815 B
Nix
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;
|
|
};
|
|
})
|