From ca769a679a21c3bef366eab6447995887e47d80e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 15 Sep 2015 13:23:48 +0200 Subject: [PATCH 1/2] python-packages inginious: does not need multiprocessing package Inginious does not actually need the multiprocessing. --- pkgs/top-level/python-packages.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 734cce373650..a3458d522e42 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7128,7 +7128,7 @@ let propagatedBuildInputs = with self; [ requests2 # Needs to be first; - cgroup-utils docker-custom docutils lti multiprocessing pygments pymongo + cgroup-utils docker-custom docutils lti pygments pymongo pyyaml rpyc selenium sh simpleldap tidylib virtual-display web websocket_client ]; @@ -7138,6 +7138,12 @@ let md5 = "40474dd6b6d4fc26e47a1d9c77bcf943"; }; + # Remove multiprocessing + # https://github.com/UCL-INGI/INGInious/issues/73 + patchPhase = '' + sed -i '34d' setup.py + ''; + meta = { description = "An intelligent grader that allows secured and automated testing of code made by students."; homepage = "https://github.com/UCL-INGI/INGInious"; From 3633a3b6f192683e69fac617d54a9d80a9ca2f00 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 15 Sep 2015 13:26:05 +0200 Subject: [PATCH 2/2] python-packages multiprocessing: remove package multiprocessing is a backport for Python 2.4 and 2.5. Both versions are not supported on Nix. This removes the multiprocessing package. --- pkgs/top-level/python-packages.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a3458d522e42..07f391cdd554 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8505,15 +8505,6 @@ let }; }; - multiprocessing = buildPythonPackage rec { - name = "multiprocessing-2.6.2.1"; - - src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/m/multiprocessing/${name}.tar.gz"; - md5 = "5cc484396c040102116ccc2355379c72"; - }; - }; - munkres = buildPythonPackage rec { name = "munkres-1.0.6";