-self: super: {
- public-inbox = super.public-inbox.overrideAttrs (oldAttrs: rec {
- version = "1.5.0";
- src = super.fetchurl {
+_self: super: {
+ public-inbox = super.public-inbox.overrideAttrs (_oldAttrs: rec {
+ /*
+ version = "1.6.0";
+ src = super.fetchurl {
url = "https://yhbt.net/public-inbox.git/snapshot/public-inbox-${version}.tar.gz";
- sha256 = "11fvgcs4vj4jbvwij3fh3jilvmaz0qzv09jcbhxb2hkpzdymzywk";
- };
- patches = [];
+ sha256 = "sha256-Zq1cFc1PZgEMEuVt2pPAK45ca+FDPSfFCXaC/nAbSl4=";
+ };
+ */
+ doCheck = false;
+ /*
+ buildInputs = with self.perlPackages; oldAttrs.buildInputs ++ [
+ Inline
+ InlineC
+ #DevelTrace
+ ];
+ postInstall = ''
+ for prog in $out/bin/*; do
+ wrapProgram $prog --prefix PATH : ${super.lib.makeBinPath [ self.git self.gnumake self.stdenv.cc ]}
+ done
+
+ mv sa_config $sa_config
+ '';
+ patches = map super.fetchpatch [
+ { meta.description = "[PATCH] treat $INBOX_DIR/description and gitweb.owner as UTF-8";
+ url = "https://public-inbox.org/meta/20200528183708.GA549@dcvr/raw";
+ sha256 = "15ad3bc1rcs8fyw26z3xcmxx8868ga6ydxzk80zic29x875kadak";
+ }
+ ] ++ [
+ ../pkgs/public-inbox/0003-view-don-t-show-page-if-no-links-follow-it.patch
+ ../pkgs/public-inbox/accept-html.patch
+ #../pkgs/public-inbox/fix-git-call.patch
+ ];
+ */
});
}