1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/pyramid_beaker/default.nix
Philipp Volguine 7819cc0cb9 pythonPackages.pyramid_beaker: fix building
- checkInputs rather than buildInputs
- it was complaining that py.test was not a valid command
2019-04-02 01:50:33 -04:00

25 lines
569 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, beaker, pyramid }:
buildPythonPackage rec {
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' pyramid_beaker/tests.py
'';
checkInputs = [ pytest ];
propagatedBuildInputs = [ beaker pyramid ];
meta = with stdenv.lib; {
maintainers = with maintainers; [ domenkozar ];
};
}