sabnzbd: stay with sabyenc3 4.0.0
SABnzbd requires `sabyenc3` at version `4.0.0`, but it was updated to
`5.0.1`.
This fixes the error:
```
SABYenc disabled: no correct version found! (Found v5.0.1, expecting
v4.0.0)
```
commit1cef70e82336888f897546094620416494d2083f
authorFrederik Rietdijk <fridh@fridh.nl>
dateFri 29 Apr 2022, 10:36 (5 years ago)
parent25ed703
pkgs/servers/sabnzbd/default.nix+15−1
@@ -10,7 +10,21 @@
1010}:
1111
1212let
13− pythonEnv = python3.withPackages(ps: with ps; [
13+
14+ python = python3.override {
15+ packageOverrides = final: prev: {
16+ sabyenc3 = prev.sabyenc3.overridePythonAttrs (oldAttrs: rec {
17+ version = "4.0.0";
18+ src = oldAttrs.src.override {
19+ inherit version;
20+ hash = "sha256-PwwQ2jChKIqh7jJ6E2hkqPquTDSN4MklghfJ+MkM0n0=";
21+ };
22+ });
23+ };
24+ self = python;
25+ };
26+
27+ pythonEnv = python.withPackages(ps: with ps; [
1428 chardet
1529 cheetah3
1630 cherrypy