about summary refs log tree commit diff
path: root/pkgs/development/python-modules/overly/default.nix
blob: f234c910865ebc13ab293f7afa57acff42c2fb08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  stdenv,
  buildPythonPackage,
  pythonOlder,
  fetchPypi,
  h11,
  sansio-multipart,
}:

buildPythonPackage rec {
  pname = "overly";
  version = "0.1.85";

  disabled = pythonOlder "3.6";

  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "20a99526c7859acc859e87afd97b5c4916405e7477834f727b49210e478370cb";
  };

  propagatedBuildInputs = [
    h11
    sansio-multipart
  ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [ "overly" ];

  meta = {
    description = "Overly configurable http server for client testing";
    homepage = "https://github.com/theelous3/overly";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
    broken = stdenv.isDarwin; # https://github.com/theelous3/overly/issues/2
  };
}