]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/overlays/public-inbox.nix
losurdo: zfs: fix setup
[sourcephile-nix.git] / nixpkgs / overlays / public-inbox.nix
1 self: super: {
2 public-inbox = super.public-inbox.overrideAttrs (oldAttrs: rec {
3 /*
4 version = "1.6.0";
5 src = super.fetchurl {
6 url = "https://yhbt.net/public-inbox.git/snapshot/public-inbox-${version}.tar.gz";
7 sha256 = "sha256-Zq1cFc1PZgEMEuVt2pPAK45ca+FDPSfFCXaC/nAbSl4=";
8 };
9 */
10 doCheck = false;
11 /*
12 buildInputs = with self.perlPackages; oldAttrs.buildInputs ++ [
13 Inline
14 InlineC
15 #DevelTrace
16 ];
17 postInstall = ''
18 for prog in $out/bin/*; do
19 wrapProgram $prog --prefix PATH : ${super.lib.makeBinPath [ self.git self.gnumake self.stdenv.cc ]}
20 done
21
22 mv sa_config $sa_config
23 '';
24 patches = map super.fetchpatch [
25 { meta.description = "[PATCH] treat $INBOX_DIR/description and gitweb.owner as UTF-8";
26 url = "https://public-inbox.org/meta/20200528183708.GA549@dcvr/raw";
27 sha256 = "15ad3bc1rcs8fyw26z3xcmxx8868ga6ydxzk80zic29x875kadak";
28 }
29 ] ++ [
30 ../pkgs/public-inbox/0003-view-don-t-show-page-if-no-links-follow-it.patch
31 ../pkgs/public-inbox/accept-html.patch
32 #../pkgs/public-inbox/fix-git-call.patch
33 ];
34 */
35 });
36 }