summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyramid_beaker/default.nix
blob: 88dc62886fc6f8ef0409641a8bd8ab486c7f7eec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, 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 lib; {
    maintainers = with maintainers; [ domenkozar ];
  };
}