3
0
Fork 0
forked from mirrors/nixpkgs

python-INGInious: 0.3.dev1 -> 0.3a2.dev0

Fixes hydra build failure(s).
Fixes #9873.
This commit is contained in:
Guillaume Maudoux 2015-09-12 00:29:42 +02:00
parent 47cd462823
commit 63b0a6c527

View file

@ -7109,40 +7109,56 @@ let
};
};
inginious = buildPythonPackage rec {
version = "0.3.dev1";
name = "inginious-${version}";
disabled = isPy3k;
inginious = let
# patched version of docker bindings.
docker-custom = self.docker.override {
name = "docker-1.3.0-dirty";
src = pkgs.fetchFromGitHub {
owner = "GuillaumeDerval";
repo = "docker-py";
rev = "1.3.0-dev";
sha256 = "0rx686riw4w6kanw4nsyzhcy84fz251g9x59piba2n62qpa1rlxf";
# tip of branch "master"
rev = "966becd0af514e67de5afbf885257a5005e49626";
sha256 = "09k41dh86cbb7z4b8926fi5b2qq670mm6agl5py3giacakrap66c";
};
};
webpy-custom = self.web.override {
name = "web.py-INGI";
src = pkgs.fetchFromGitHub {
owner = "UCL-INGI";
repo = "webpy-INGI";
# tip of branch "ingi"
rev = "f487e78d65d6569eb70003e588d5c6ace54c384f";
sha256 = "159vwmb8554xk98rw380p3ah170r6gm861r1nqf2l452vvdfxscd";
};
};
in buildPythonPackage rec {
version = "0.3a2.dev0";
name = "inginious-${version}";
disabled = isPy3k;
propagatedBuildInputs = with self; [
requests2 # Needs to be first;
cgroup-utils docker-custom docutils lti pygments pymongo
pyyaml rpyc selenium sh simpleldap tidylib virtual-display web
websocket_client
requests2 # Needs to be first, no idea why...
cgroup-utils docker-custom docutils lti mock pygments
pymongo pyyaml rpyc sh simpleldap sphinx_rtd_theme tidylib
websocket_client watchdog webpy-custom
];
buildInputs = with self; [ nose selenium virtual-display ];
/* Hydra fix exists only on github for now.
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/I/INGInious/INGInious-${version}.tar.gz";
md5 = "40474dd6b6d4fc26e47a1d9c77bcf943";
};
# Remove multiprocessing
# https://github.com/UCL-INGI/INGInious/issues/73
patchPhase = ''
sed -i '34d' setup.py
'';
*/
src = pkgs.fetchFromGitHub {
owner = "UCL-INGI";
repo = "INGInious";
rev = "e019a0e28c442b4201ec4a0be2a816c4ab639683";
sha256 = "1pwbm7f7xn50rxzwrqpji58n2ami5r3lgbdpb61q0w3dwkxvvvfk";
};
meta = {
description = "An intelligent grader that allows secured and automated testing of code made by students.";