@@ -1673,27 +1673,7 @@ in {
16731673 };
16741674 };
16751675
1676−
1677− binaryornot = buildPythonPackage rec {
1678− name = "binaryornot-${version}";
1679− version = "0.4.0";
1680−
1681− src = pkgs.fetchurl {
1682− url ="mirror://pypi/b/binaryornot/${name}.tar.gz";
1683− sha256 = "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb";
1684− };
1685−
1686− buildInputs = with self; [ hypothesis ];
1687−
1688− propagatedBuildInputs = with self; [ chardet ];
1689−
1690− meta = {
1691− homepage = https://github.com/audreyr/binaryornot;
1692− description = "Ultra-lightweight pure Python package to check if a file is binary or text";
1693− license = licenses.bsd3;
1694− };
1695− };
1696−
1676+ binaryornot = callPackage ../development/python-modules/binaryornot { };
16971677
16981678 bitbucket_api = buildPythonPackage rec {
16991679 name = "bitbucket-api-0.4.4";
@@ -9218,44 +9198,7 @@ in {
92189198 };
92199199 };
92209200
9221− konfig = buildPythonPackage rec {
9222− name = "konfig-${version}";
9223− version = "1.1";
9224−
9225− # konfig unconditionaly depend on configparser, even if it is part of
9226− # the standard library in python 3.2 or above.
9227− disabled = isPy3k;
9228−
9229− src = pkgs.fetchgit {
9230− url = https://github.com/mozilla-services/konfig.git;
9231− rev = "refs/tags/${version}";
9232− sha256 = "1h780fbrv275dcik4cs3rincza805z6q726b48r4a0qmh5d8160c";
9233− };
9234−
9235− propagatedBuildInputs = with self; [ configparser six ];
9236−
9237− patches = [ (pkgs.writeText "konfig.patch" ''
9238− diff --git a/setup.py b/setup.py
9239− index 96fd858..bb4db06 100644
9240− --- a/setup.py
9241− +++ b/setup.py
9242− @@ -20,7 +20,7 @@ setup(name='konfig',
9243− author_email="tarek@mozilla.com",
9244− include_package_data=True,
9245− install_requires = [
9246− - 'configparser', 'argparse', 'six'
9247− + 'configparser', 'six'
9248− ],
9249− zip_safe=False,
9250− classifiers=classifiers,
9251− '') ];
9252−
9253− meta = {
9254− description = "Yet Another Config Parser";
9255− homepage = "https://github.com/mozilla-services/konfig";
9256− license = licenses.mpl20;
9257− };
9258− };
9201+ konfig = callPackage ../development/python-modules/konfig { };
92599202
92609203 kitchen = callPackage ../development/python-modules/kitchen/default.nix { };
92619204
@@ -10631,24 +10574,6 @@ in {
1063110574
1063210575 mysql-connector = callPackage ../development/python-modules/mysql-connector { };
1063310576
10634− mysql_connector_repackaged = buildPythonPackage rec {
10635− name = "mysql-connector-repackaged-0.3.1";
10636−
10637− src = pkgs.fetchurl {
10638− url = "mirror://pypi/m/mysql-connector-repackaged/${name}.tar.gz";
10639− sha256 = "170fbf11c54def1b5fcc919be0a890b760bb2eca81f56123a5dda0c69b5b099e";
10640− };
10641−
10642− # Judging from SyntaxError
10643− disabled = isPy3k;
10644−
10645− meta = {
10646− maintainers = with maintainers; [ garbas domenkozar ];
10647− platforms = platforms.linux;
10648− };
10649− };
10650−
10651−
1065210577 namebench = buildPythonPackage (rec {
1065310578 name = "namebench-1.3.1";
1065410579 disabled = isPy3k || isPyPy;
@@ -14808,22 +14733,7 @@ in {
1480814733
1480914734 redis = callPackage ../development/python-modules/redis { };
1481014735
14811− rednose = buildPythonPackage rec {
14812− name = "rednose-${version}";
14813− version = "1.2.1";
14814−
14815− src = pkgs.fetchurl {
14816− url = "mirror://pypi/r/rednose/${name}.tar.gz";
14817− sha256 = "0b0bsna217lr1nykyhl5fgjly15zhdvqd4prg4wy1zrgfv7al6m0";
14818− };
14819−
14820− meta = {
14821− description = "A python nose plugin adding color to console results.";
14822− };
14823−
14824− buildInputs = with self; [ nose six ];
14825− propagatedBuildInputs = with self; [ colorama termstyle ];
14826− };
14736+ rednose = callPackage ../development/python-modules/rednose { };
1482714737
1482814738 reikna = callPackage ../development/python-modules/reikna { };
1482914739
@@ -15768,6 +15678,8 @@ in {
1576815678
1576915679 stevedore = callPackage ../development/python-modules/stevedore {};
1577015680
15681+ text-unidecode = callPackage ../development/python-modules/text-unidecode { };
15682+
1577115683 Theano = callPackage ../development/python-modules/Theano rec {
1577215684 cudaSupport = pkgs.config.cudaSupport or false;
1577315685 cudnnSupport = cudaSupport;
@@ -18049,23 +17961,7 @@ EOF
1804917961
1805017962 persistent = callPackage ../development/python-modules/persistent {};
1805117963
18052− xdot = buildPythonPackage rec {
18053− name = "xdot-0.9";
18054−
18055− src = pkgs.fetchurl {
18056− url = "mirror://pypi/x/xdot/${name}.tar.gz";
18057− sha256 = "01v9vmgdxz1q2m2vq2b4aqx4ycw7grc0l4is673ygvyg9rk02dx3";
18058− };
18059−
18060− nativeBuildInputs = with pkgs; [ wrapGAppsHook ];
18061− propagatedBuildInputs = with self; [ pkgs.gobjectIntrospection pygobject3 pkgs.graphviz pkgs.gnome3.gtk ];
18062−
18063− meta = {
18064− description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot";
18065− homepage = https://github.com/jrfonseca/xdot.py;
18066− license = licenses.lgpl3Plus;
18067− };
18068− };
17964+ xdot = callPackage ../development/python-modules/xdot { };
1806917965
1807017966 zetup = callPackage ../development/python-modules/zetup { };
1807117967
@@ -20673,39 +20569,9 @@ EOF
2067320569 };
2067420570 };
2067520571
20676− termstyle = buildPythonPackage rec {
20677− name = "python-termstyle-${version}";
20678− version = "0.1.10";
20679− src = pkgs.fetchurl {
20680− url = "mirror://pypi/p/python-termstyle/${name}.tar.gz";
20681− sha256 = "1qllzkx1alf14zcfapppf8w87si4cpa7lgjmdp3f5idzdyqnnapl";
20682− };
20683−
20684− meta = {
20685− description = "Console colouring for python";
20686− homepage = "https://pypi.python.org/pypi/python-termstyle/0.1.10";
20687− license = licenses.bsdOriginal;
20688− };
20689−
20690− };
20691−
20692− green = buildPythonPackage rec {
20693− name = "green-${version}";
20694− version = "2.3.0";
20695− src = pkgs.fetchurl {
20696− url = "mirror://pypi/g/green/${name}.tar.gz";
20697− sha256 = "1888khfl9yxb8yfxq9b48dxwplqlxx8s0l530z5j7c6bx74v08b4";
20698− };
20699−
20700− propagatedBuildInputs = with self; [ termstyle colorama ];
20701− buildInputs = with self; [ mock ];
20572+ termstyle = callPackage ../development/python-modules/termstyle { };
2070220573
20703− meta = {
20704− description = "Python test runner";
20705− homepage = "https://github.com/CleanCut/green";
20706− license = licenses.mit;
20707− };
20708− };
20574+ green = callPackage ../development/python-modules/green { };
2070920575
2071020576 topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22
2071120577