about summary refs log tree commit diff
path: root/default.nix
blob: 0f15596938f74e481b0650c0260c4a2e14fa79c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  lib,
  fetchurl,
  callPackage,
  pkgs,
}:

callPackage (import (pkgs.path + "/pkgs/applications/version-management/cgit/common.nix") rec {
  pname = "cgit-magenta";
  version = "1.5.1";

  src = ./.;
  # cgit-pink is tightly coupled with git and needs a git source tree to build.
  # IMPORTANT: Remember to check which git version cgit-pink needs on every
  # version bump (look for "GIT_VER" in the top-level Makefile).
  gitSrc = fetchurl {
    url = "mirror://kernel/software/scm/git/git-2.48.1.tar.xz";
    sha256 = "HF1UX13B61HpXSxQ2Y/fiLGja6H6MOmuXVOFxgJPgq0=";
  };

  homepage = "https://cgit.rory.gay/cgit-magenta.git/about/";
  description = "cgit fork aiming for better maintenance (again)";
  maintainers = [];
}) { }