]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/overlays/public-inbox.nix
public-inbox: rewrite the module
[sourcephile-nix.git] / nixpkgs / overlays / public-inbox.nix
1 self: super: {
2 public-inbox = super.public-inbox.overrideAttrs (oldAttrs: rec {
3 version = "1.6.0";
4 src = super.fetchurl {
5 url = "https://yhbt.net/public-inbox.git/snapshot/public-inbox-${version}.tar.gz";
6 sha256 = "sha256-Zq1cFc1PZgEMEuVt2pPAK45ca+FDPSfFCXaC/nAbSl4=";
7 };
8 doCheck = false;
9 buildInputs = with self.perlPackages; oldAttrs.buildInputs ++ [
10 AnyURIEscape
11 DBI
12 EmailAddressXS
13 IOSocketSSL
14 ParseRecDescent
15 Plack
16 PlackMiddlewareReverseProxy
17 ];
18 patches = map super.fetchpatch [
19 /*
20 { meta.description = "[PATCH] treat $INBOX_DIR/description and gitweb.owner as UTF-8";
21 url = "https://public-inbox.org/meta/20200528183708.GA549@dcvr/raw";
22 sha256 = "15ad3bc1rcs8fyw26z3xcmxx8868ga6ydxzk80zic29x875kadak";
23 }
24 */
25 ] ++ [
26 ../pkgs/public-inbox/0003-view-don-t-show-page-if-no-links-follow-it.patch
27 ../pkgs/public-inbox/accept-html.patch
28 #../pkgs/public-inbox/fix-git-call.patch
29 ];
30 });
31 }