python.pkgs.cccolutils: run tests on python3

This commit is contained in:
Robin Gloster 2017-12-25 20:08:10 +01:00
parent 1e974ff092
commit d86128cdf7
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, krb5Full, nose, GitPython, mock, git }:
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, krb5Full, nose, GitPython, mock, git }:
buildPythonPackage rec {
pname = "CCColUtils";
@ -9,9 +9,11 @@ buildPythonPackage rec {
inherit pname version;
sha256 = "1gwcq4xan9as1j3q9k2zqrywxp46qx0ljwxbck9id2fvilds6ck3";
};
buildInputs = [ krb5Full ];
propagatedBuildInputs = [ nose GitPython mock git ];
doCheck = false;
doCheck = isPy3k; # needs unpackaged module to run tests on python2
meta = with stdenv.lib; {
description = "Python Kerberos 5 Credential Cache Collection Utilities";