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