summary refs log tree commit diff
path: root/pkgs/applications/version-management/cgit/pink.nix
blob: 73523a2d77afd04619d88bc74e916e6a6cd95827 (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
{ lib, fetchurl, callPackage }:

callPackage (import ./common.nix rec {
  pname = "cgit-pink";
  version = "1.4.1";

  src = fetchurl {
    url = "https://git.causal.agency/cgit-pink/snapshot/cgit-pink-${version}.tar.gz";
    sha256 = "1ma6j3r4ba5fhd47pc6xn5bmxaqr8ci2pvky9v100n1hh5n6q97i";
  };

  # 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.36.1.tar.xz";
    sha256 = "0w43a35mhc2qf2gjkxjlnkf2lq8g0snf34iy5gqx2678yq7llpa0";
  };

  homepage = "https://git.causal.agency/cgit-pink/about/";
  description = "cgit fork aiming for better maintenance";
  maintainers = with lib.maintainers; [ sternenseemann ];
}) {}