1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "quixote";
12 version = "3.7";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-F4u50xz6sNwBIzgEglVnwKTKxguE6f1m9Y2DAUEJsGQ=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "quixote" ];
27
28 disabledTestPaths = [
29 # Test has additional requirements
30 "quixote/ptl/test/test_ptl.py"
31 ];
32
33 meta = with lib; {
34 description = "Small and flexible Python Web application framework";
35 homepage = "https://pypi.org/project/Quixote/";
36 license = licenses.mit;
37 maintainers = with maintainers; [ fab ];
38 };
39}