mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
90b4ffbd45
gcli: set meta.platforms
34 lines
765 B
Nix
34 lines
765 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, curl
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, byacc
|
|
, flex
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gcli";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "herrhotzenplotz";
|
|
repo = "gcli";
|
|
rev = version;
|
|
hash = "sha256-extVTaTWVFXSTiXlZ/MtiiFdc/KZEDkc+A7xxylJaM4=";
|
|
};
|
|
|
|
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 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|