d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
25 lines
855 B
Nix
25 lines
855 B
Nix
{ lib, fetchurl, callPackage, luajit }:
|
|
|
|
callPackage (import ./common.nix rec {
|
|
pname = "cgit";
|
|
version = "1.2.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.zx2c4.com/cgit/snapshot/${pname}-${version}.tar.xz";
|
|
sha256 = "193d990ym10qlslk0p8mjwp2j6rhqa7fq0y1iff65lvbyv914pss";
|
|
};
|
|
|
|
# cgit is tightly coupled with git and needs a git source tree to build.
|
|
# IMPORTANT: Remember to check which git version cgit needs on every version
|
|
# bump (look for "GIT_VER" in the top-level Makefile).
|
|
gitSrc = fetchurl {
|
|
url = "mirror://kernel/software/scm/git/git-2.25.1.tar.xz";
|
|
sha256 = "09lzwa183nblr6l8ib35g2xrjf9wm9yhk3szfvyzkwivdv69c9r2";
|
|
};
|
|
|
|
buildInputs = [ luajit ];
|
|
|
|
homepage = "https://git.zx2c4.com/cgit/about/";
|
|
description = "Web frontend for git repositories";
|
|
maintainers = with lib.maintainers; [ bjornfor ];
|
|
}) {}
|