pythonPackages.fastimport: fix testrunner, disable python 3

This commit is contained in:
Frederik Rietdijk 2016-01-24 10:47:21 +01:00
parent 2e5ec8d35c
commit 268439eb36

View File

@ -8252,11 +8252,18 @@ in modules // {
name = "fastimport-${version}";
version = "0.9.4";
# Judging from SyntaxError
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/f/fastimport/${name}.tar.gz";
sha256 = "0k8x7552ypx9rc14vbsvg2lc6z0r8pv9laah28pdwyynbq10825d";
};
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = {
homepage = https://launchpad.net/python-fastimport;
description = "VCS fastimport/fastexport parser";