Merge pull request #25414 from LnL7/darwin-nox

nox: fix darwin build
This commit is contained in:
Michael Raskin 2017-05-02 00:25:07 +02:00 committed by GitHub
commit 4099450bea
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi,
dogpile_core, pytest
}:
{ stdenv, buildPythonPackage, fetchPypi
, dogpile_core, pytest, pytestcov, mock, Mako
}:
buildPythonPackage rec {
pname = "dogpile.cache";
@ -13,12 +13,12 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ dogpile_core ];
buildInputs = [ pytest ];
buildInputs = [ pytest pytestcov mock Mako ];
meta = with stdenv.lib; {
description = "A caching front-end based on the Dogpile lock";
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
platforms = platforms.linux; # Can only test linux
platforms = platforms.unix;
license = licenses.bsd3;
};
}

View File

@ -5509,7 +5509,8 @@ in {
sha256 = "fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f";
};
buildInputs = with self; [ covCore pytest virtualenv process-tests helper ];
propagatedBuildInputs = with self; [ pytest coverage ];
buildInputs = with self; [ covCore virtualenv process-tests helper ];
doCheck = false;
checkPhase = ''
@ -14114,6 +14115,7 @@ in {
description = "Super-fast templating language";
homepage = http://www.makotemplates.org;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ domenkozar ];
};
};