about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-02-18 02:13:51 +0100
committeraszlig <aszlig@nix.build>2018-02-18 02:29:20 +0100
commit47a808878bb04e73fcf2ee66c0b97fc635eb138b (patch)
treedfa7a2ffeb6094bdd2b0e4fdc348fe49d5dcdae1 /machines
parentfdd77f758c8da6c024b36a0e2d7697d86e09cc8c (diff)
dnyarri: Use latest master for podcastparser
Seems that 543ca6580d6f52d58caf975c0ed583956aa08b39 was not enough to
fix the actual issue, because the real issue was in podcastparser.

The upstream issue is gpodder/gpodder#394 and the pull request fixing
this is gpodder/podcastparser#17.

Instead of just updating podcastparser, I also updated gpodder to latest
master, because it contains a few more fixes.

I've tested whether this fixes my issue and it did (feed items now have
the correct date).

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/dnyarri.nix24
1 files changed, 20 insertions, 4 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix
index 99e18e6f..1fd3947f 100644
--- a/machines/aszlig/dnyarri.nix
+++ b/machines/aszlig/dnyarri.nix
@@ -53,14 +53,30 @@ in {
   };
 
   environment.systemPackages = [
-    (pkgs.gpodder.overrideAttrs (drv: {
+    ((pkgs.gpodder.overrideAttrs (drv: {
       src = assert drv.version == "3.10.0"; pkgs.fetchFromGitHub {
         owner = "gpodder";
         repo = "gpodder";
-        rev = "1aec01778e70be3fef5f1acbdf8f4cf67964464d";
-        sha256 = "14wlxqfrsidijgzrfx7227hf2fcng3j0psb0sgmkcpdl765gpgpv";
+        rev = "4cbf62372def27d501acbe24b68297ba584b689d";
+        sha256 = "16r9p126z4vrpqxpq0chlmjhx75npf9j7zb2174m3c4z02c85k7q";
       };
-    }))
+    })).override {
+      python3Packages = (pkgs.python3.override {
+        packageOverrides = lib.const (super: {
+          podcastparser = super.podcastparser.overridePythonAttrs (drv: let
+            assertVer = assert lib.versionOlder drv.version "0.6.4"; lib.id;
+          in {
+            version = "0.6.3";
+            src = assertVer (pkgs.fetchFromGitHub {
+              owner = "gpodder";
+              repo = "podcastparser";
+              rev = "ca8849f25e08b1aa7fa806c7a27dac200f7a2e8d";
+              sha256 = "105hlkm5h8lzj6dr2jvpc3zqdy7ayaxh9g99mv1m0f7l8mljz26a";
+            });
+          });
+        });
+      }).pkgs;
+    })
     pkgs.paperwork
   ];