python.pkgs.pyramid_beaker: fix tests

This commit is contained in:
Jörg Thalheim
2017-08-28 07:53:33 +01:00
parent 27ac74daa5
commit def7badb31
2 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, beaker, pyramid }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pyramid_beaker";
version = "0.8";
src = fetchPypi {
inherit pname version;
sha256 = "0hflx3qkcdml1mwpq53sz46s7jickpfn0zy0ns2c7j445j66bp3p";
};
checkPhase = ''
# https://github.com/Pylons/pyramid_beaker/issues/29
py.test -k 'not test_includeme'
'';
buildInputs = [ pytest ];
propagatedBuildInputs = [ beaker pyramid ];
meta = with stdenv.lib; {
maintainers = with maintainers; [ domenkozar ];
};
}