mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
pythonPackages.bjoern: init at 2.2.2
This commit is contained in:
parent
9064d9db00
commit
31554915a4
25
pkgs/development/python-modules/bjoern/default.nix
Normal file
25
pkgs/development/python-modules/bjoern/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, libev, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bjoern";
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1w5z9agacci4shmkg9gh46ifj2a724rrgbykdv14830f7jq3dcmi";
|
||||
};
|
||||
|
||||
buildInputs = [ libev ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/keep-alive-behaviour.py 2>/dev/null
|
||||
${python.interpreter} tests/test_wsgi_compliance.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/jonashaag/bjoern;
|
||||
description = "A screamingly fast Python 2/3 WSGI server written in C";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
|
@ -16935,6 +16935,8 @@ EOF
|
|||
|
||||
black = callPackage ../development/python-modules/black { };
|
||||
|
||||
bjoern = callPackage ../development/python-modules/bjoern { };
|
||||
|
||||
autobahn = callPackage ../development/python-modules/autobahn { };
|
||||
|
||||
jsonref = callPackage ../development/python-modules/jsonref { };
|
||||
|
|
Loading…
Reference in a new issue