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