1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 docopt,
6}:
7
8buildPythonPackage rec {
9 pname = "httpserver";
10 version = "1.1.0";
11 format = "setuptools";
12
13 buildInputs = [ docopt ];
14
15 # Tests pull in lots of other dependencies to emulate different web
16 # drivers.
17 doCheck = false;
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "1q62g324dvb0hqdwwrnj41sqr4d3ly78v9nc26rz1whj4pwdmhsv";
22 };
23
24 meta = {
25 description = "Asyncio implementation of an HTTP server";
26 mainProgram = "httpserver";
27 homepage = "https://github.com/thomwiggers/httpserver";
28 license = with lib.licenses; [ bsd3 ];
29 };
30}