@@ -1,17 +1,33 @@
1−{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
1+{ stdenv
2+, fetchFromGitHub
3+, python3
4+, par2cmdline
5+, unzip
6+, unrar
7+, p7zip
8+, makeWrapper
9+}:
210
311let
4− pythonEnv = python2.withPackages(ps: with ps; [ cryptography cheetah yenc sabyenc ]);
12+ pythonEnv = python3.withPackages(ps: with ps; [
13+ chardet
14+ cheetah3
15+ cherrypy
16+ cryptography
17+ configobj
18+ feedparser
19+ sabyenc3
20+ ]);
521 path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
622in stdenv.mkDerivation rec {
7− version = "2.3.9";
23+ version = "3.0.1";
824 pname = "sabnzbd";
925
1026 src = fetchFromGitHub {
1127 owner = pname;
1228 repo = pname;
1329 rev = version;
14− sha256 = "06ln00rqz4xpsqhq0f495893xq1w5dfjawb8dgfyjjfds8627p16";
30+ sha256 = "1zp8cxz56qmai1z6xcscnq85gxhv64dv1s5zqsqdn0zpbxyqqdlr";
1531 };
1632
1733 buildInputs = [ pythonEnv makeWrapper ];