1{
2 lib,
3 stdenv,
4 buildPythonPackage,
5 pythonOlder,
6 fetchPypi,
7 h11,
8 sansio-multipart,
9}:
10
11buildPythonPackage rec {
12 pname = "overly";
13 version = "0.1.85";
14
15 disabled = pythonOlder "3.6";
16
17 format = "setuptools";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "20a99526c7859acc859e87afd97b5c4916405e7477834f727b49210e478370cb";
22 };
23
24 propagatedBuildInputs = [
25 h11
26 sansio-multipart
27 ];
28
29 # upstream has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "overly" ];
33
34 meta = {
35 description = "Overly configurable http server for client testing";
36 homepage = "https://github.com/theelous3/overly";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ dotlambda ];
39 broken = stdenv.hostPlatform.isDarwin; # https://github.com/theelous3/overly/issues/2
40 };
41}