git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43276 from dotlambda/fix-flexget

Fix flexget

commitd536905e5bf77fbde8a7b80477c793d94dac5672 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateTue 10 Jul 2018, 15:04 (8 years ago) parentebc6cd51789ee2
3 files changed+9−35
pkgs/applications/networking/flexget/default.nix+9−1 pkgs/development/python-modules/guessit/2.0.nix−31 pkgs/top-level/python-packages.nix−3
pkgs/applications/networking/flexget/default.nix+9−1
@@ -20,6 +20,14 @@ let
2020 sha256 = "1lvb14qclrx0qf6qqx8a8hkx5akk5lk3dvcqz8760v9hya52pnfv";
2121 };
2222 });
23+
24+ guessit = super.guessit.overridePythonAttrs (old: rec {
25+ version = "2.1.4";
26+ src = old.src.override {
27+ inherit version;
28+ sha256 = "90e6f9fb49246ad27f34f8b9984357e22562ccc3059241cbc08b4fac1d401c56";
29+ };
30+ });
2331 };
2432
2533in
@@ -48,7 +56,7 @@ buildPythonApplication rec {
4856 chardet beautifulsoup4 html5lib
4957 PyRSS2Gen pynzb rpyc jinja2
5058 jsonschema requests dateutil
51− pathpy guessit_2_0 APScheduler
59+ pathpy guessit APScheduler
5260 terminaltables colorclass
5361 cherrypy flask flask-restful
5462 flask-restplus flask-compress
pkgs/development/python-modules/guessit/2.0.nixdeleted−31
@@ -1,31 +0,0 @@
1−{ lib
2−, buildPythonPackage
3−, fetchPypi
4−, pytestrunner
5−, dateutil
6−, babelfish
7−, rebulk
8−}:
9−
10−buildPythonPackage rec {
11− pname = "guessit";
12− version = "3.0.0";
13−
14− src = fetchPypi {
15− inherit pname version;
16− sha256 = "bf17e78783cf13bf903750770de4c3bb6c9ca89baafedb1612794660b6ebe32b";
17− };
18−
19− # Tests require more packages.
20− doCheck = false;
21− buildInputs = [ pytestrunner ];
22− propagatedBuildInputs = [
23− dateutil babelfish rebulk
24− ];
25−
26− meta = {
27− homepage = https://pypi.python.org/pypi/guessit;
28− license = lib.licenses.lgpl3;
29− description = "A library for guessing information from video files";
30− };
31−}
pkgs/top-level/python-packages.nix−3
@@ -6317,9 +6317,6 @@ in {
63176317
63186318 guessit = callPackage ../development/python-modules/guessit { };
63196319
6320− # used by flexget
6321− guessit_2_0 = callPackage ../development/python-modules/guessit/2.0.nix { };
6322−
63236320 rebulk = callPackage ../development/python-modules/rebulk { };
63246321
63256322 gunicorn = callPackage ../development/python-modules/gunicorn { };