1 { lib, fetchurl, callPackage, luajit }:
3 callPackage (import ./common.nix rec {
8 url = "https://git.zx2c4.com/cgit/snapshot/${pname}-${version}.tar.xz";
9 sha256 = "193d990ym10qlslk0p8mjwp2j6rhqa7fq0y1iff65lvbyv914pss";
12 # cgit is tightly coupled with git and needs a git source tree to build.
13 # IMPORTANT: Remember to check which git version cgit needs on every version
14 # bump (look for "GIT_VER" in the top-level Makefile).
16 url = "mirror://kernel/software/scm/git/git-2.25.1.tar.xz";
17 sha256 = "09lzwa183nblr6l8ib35g2xrjf9wm9yhk3szfvyzkwivdv69c9r2";
20 buildInputs = [ luajit ];
22 homepage = "https://git.zx2c4.com/cgit/about/";
23 description = "Web frontend for git repositories";
24 maintainers = with lib.maintainers; [ bjornfor ];