1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "bottle";
9 version = "0.12.23";
10
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-aD3jqjmfsm6HsnTbz3CxplE4XUWRMXFjh6vcN5LgQWc=";
16 };
17
18 checkInputs = [
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 ];
31
32 meta = with lib; {
33 homepage = "https://bottlepy.org/";
34 description = "A fast and simple micro-framework for small web-applications";
35 license = licenses.mit;
36 maintainers = with maintainers; [ koral ];
37 };
38}