3
0
Fork 0
forked from mirrors/nixpkgs

enable the tests only for python older than 3.5

This commit is contained in:
artuuge 2016-06-15 16:24:21 +02:00
parent be0ade9d03
commit 1a55add4ca
2 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,7 @@
, python
, mkDerivation
, stdenv
, pythonOlder
}:
let
compyte = import ./compyte.nix {
@ -44,6 +45,8 @@ buildPythonPackage rec {
ln -s ${compyte} $out/${python.sitePackages}/pycuda/compyte
'';
doCheck = pythonOlder "3.5";
propagatedBuildInputs = [
numpy
pytools

View file

@ -7511,6 +7511,7 @@ in modules // {
pycuda = callPackage ../development/python-modules/pycuda rec {
cudatoolkit = pkgs.cudatoolkit75;
inherit (pkgs.stdenv) mkDerivation;
inherit pythonOlder;
};
python-axolotl = buildPythonPackage rec {
@ -7795,6 +7796,8 @@ in modules // {
sha256 = "0g5w1cira1bl9f2ji11cbr9daj947nrfydydymjp4bbxbpl2jnaq";
};
doCheck = pythonOlder "3.5";
buildInputs = with self; [
decorator
appdirs