Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / bjoern / default.nix
blobef599d89be2bc7c1a44360257d2a581116cdf271
1 { lib, buildPythonPackage, fetchPypi, libev, python }:
3 buildPythonPackage rec {
4   pname = "bjoern";
5   version = "3.1.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "01f3b601cf0ab0a9c7cb9c8f944ab7c738baaa6043ca82db20e9bd7a9be5767b";
10   };
12   buildInputs = [ libev ];
14   checkPhase = ''
15     ${python.interpreter} tests/keep-alive-behaviour.py 2>/dev/null
16     ${python.interpreter} tests/test_wsgi_compliance.py
17   '';
19   meta = with lib; {
20     homepage = "https://github.com/jonashaag/bjoern";
21     description = "A screamingly fast Python 2/3 WSGI server written in C";
22     license = licenses.bsd2;
23     maintainers = with maintainers; [ cmcdragonkai ];
24   };