about summary refs log tree commit diff
path: root/pkgs/openlab/gitit/default.nix
blob: 9edb81c156f669aa7045e8ffe82246109fbe4a55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ hlib, haskellPackages, fetchFromGitHub }:

let hp = haskellPackages.override {
  overrides = (self: super: {
    gitit = (hlib.overrideCabal super.gitit (drv: rec {
      src = fetchFromGitHub {
        owner = "openlab-aux";
        repo = "gitit";
        rev = "3da7c841f9382d0c62242a1b718511acec97e9f7";
        sha256 = "0qhkbvm4ixav4nln3m9845w9m3gzfq5xh4nxp2c9qj4w9p79if7z";
      };
      platforms = [ "x86_64-linux" ];
      hydraPlatforms = platforms;
    }));
    filestore = (hlib.overrideCabal super.filestore (drv: {
      patches = [ ./filestore.patch ];
    }));
  });
};
in hp.gitit