summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathaniel Baxter <nathaniel.baxter@gmail.com>2014-10-08 23:32:06 +1100
committerMichael Raskin <7c6f434c@mail.ru>2014-11-09 18:32:47 +0300
commit8612f15a6855d2cad758a32efa8e6183e3f5e7c5 (patch)
treee1df1ed5fcc18b41a2384f608fe65943c04061b5
parentffbd1d011b432d76741900fe28ccbc873d31bbeb (diff)
downloadnixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar.gz
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar.bz2
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar.lz
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar.xz
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.tar.zst
nixlib-8612f15a6855d2cad758a32efa8e6183e3f5e7c5.zip
flexget: Bump version to 1.2.201 Added dateutil_2_1, guessit and bablefish dependencies
-rw-r--r--pkgs/top-level/python-packages.nix67
1 files changed, 62 insertions, 5 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index b2088bf34434..64c04a5fa3a9 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -601,6 +601,22 @@ let
     };
   };
 
+  babelfish = buildPythonPackage rec {
+    version = "0.5.3";
+    name = "babelfish-${version}";
+
+    src = fetchurl {
+      url = "https://pypi.python.org/packages/source/b/babelfish/${name}.tar.gz";
+      sha256 = "0wrw21dyq7v6lbffwvi1ik43d7dhmcv8xvgrrihhiv7ys1rd3gag";
+    };
+
+    meta = {
+      homepage = http://pypi.python.org/pypi/babelfish;
+      description = "A module to work with countries and languages.";
+      license = stdenv.lib.licenses.bsd3;
+    };
+  };
+
   batinfo = buildPythonPackage rec {
     version = "0.1.9";
     name = "batinfo-${version}";
@@ -1869,6 +1885,23 @@ let
     };
   });
 
+  dateutil_2_1 = buildPythonPackage (rec {
+    name = "dateutil-2.1";
+
+    src = fetchurl {
+      url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
+      sha256 = "1vlx0lpsxjxz64pz87csx800cwfqznjyr2y7nk3vhmzhkwzyqi2c";
+    };
+
+    propagatedBuildInputs = [ pythonPackages.six ];
+
+    meta = {
+      description = "Powerful extensions to the standard datetime module";
+      homepage = http://pypi.python.org/pypi/python-dateutil;
+      license = stdenv.lib.licenses.bsd3;
+    };
+  });
+
   # Buildbot 0.8.7p1 needs dateutil==1.5
   dateutil_1_5 = buildPythonPackage (rec {
     name = "dateutil-1.5";
@@ -3771,20 +3804,21 @@ let
   };
 
   flexget = buildPythonPackage rec {
-    name = "FlexGet-1.2.161";
+    version = "1.2.201";
+    name = "FlexGet-${version}";
     disabled = isPy3k;
 
     src = pkgs.fetchurl {
       url = "https://pypi.python.org/packages/source/F/FlexGet/${name}.tar.gz";
-      md5 = "f7533e7b1df49cc8027fc4a2cde0290d";
+      md5 = "e940845fc38ee602109a876455a02084";
     };
 
     buildInputs = with self; [ nose ];
-    # dateutil dependency: requirement is dateutil !=2.0 and != 2.2,
-    # dateutil_1_5 is used as it's supported, but a newer version could be used
     propagatedBuildInputs = with self; [ paver feedparser sqlalchemy pyyaml rpyc
 	    beautifulsoup4 html5lib pyrss2gen pynzb progressbar jinja2 flask
-	    cherrypy requests dateutil_1_5 jsonschema python_tvrage tmdb3 ]
+	    cherrypy requests dateutil_2_1 jsonschema python_tvrage tmdb3
+            guessit pathpy
+        ]
 	# enable deluge and transmission plugin support, if they're installed
 	++ stdenv.lib.optional (pkgs.config.pythonPackages.deluge or false)
 	    pythonpackages.deluge
@@ -4256,6 +4290,29 @@ let
     };
   };
 
+  guessit = buildPythonPackage rec {
+    version = "0.9.3";
+    name = "guessit-${version}";
+
+    src = fetchurl {
+      url = "http://pypi.python.org/packages/source/g/guessit/${name}.tar.gz";
+      sha256 = "16kbxdz5zm3mfn739ynis04zw76x2gn1lz5d7vcwh8hzaj16yyk6";
+    };
+
+    propagatedBuildInputs = with self; [
+      dateutil_2_1 requests stevedore babelfish pyyaml
+    ];
+
+    # A unicode test fails
+    doCheck = false;
+
+    meta = {
+      homepage = http://pypi.python.org/pypi/guessit;
+      license = stdenv.lib.licenses.lgpl3;
+      description = "A library for guessing information from video files.";
+    };
+  };
+
   gunicorn = buildPythonPackage rec {
     name = "gunicorn-19.1.0";