nixpkgs/pkgs/development/python-modules/pyramid_beaker/default.nix

26 lines
601 B
Nix
Raw Normal View History

2017-08-28 08:53:33 +02:00
{ 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
2017-08-28 13:19:30 +02:00
py.test -k 'not test_includeme' pyramid_beaker/tests.py
2017-08-28 08:53:33 +02:00
'';
buildInputs = [ pytest ];
propagatedBuildInputs = [ beaker pyramid ];
meta = with stdenv.lib; {
maintainers = with maintainers; [ domenkozar ];
};
}