1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "bottle";
9 version = "0.12.25";
10
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-4anJSXCubXELP7RSYpTf64byy0qB7/OkuY3ED7Dl4CE=";
16 };
17
18 nativeCheckInputs = [
19 pytestCheckHook
20 ];
21
22 preCheck = ''
23 cd test
24 '';
25
26 disabledTests = [
27 "test_delete_cookie"
28 "test_error"
29 "test_error_in_generator_callback"
30 # timing sensitive
31 "test_ims"
32 ];
33
34 __darwinAllowLocalNetworking = true;
35
36 meta = with lib; {
37 homepage = "https://bottlepy.org/";
38 description = "A fast and simple micro-framework for small web-applications";
39 license = licenses.mit;
40 maintainers = with maintainers; [ koral ];
41 };
42}