about summary refs log tree commit diff
path: root/pkgs/development/python-modules/quixote/default.nix
blob: 557a59390fb93c7f58f7e1ee28b8dde3acfe2b96 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "quixote";
  version = "3.6";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    pname = "Quixote";
    inherit version;
    hash = "sha256-78t6tznI3+vIRkWNi0HDPGhR8aGaET3IMXQvmAPdSSY=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "quixote" ];

  disabledTestPaths = [
    # Test has additional requirements
    "quixote/ptl/test/test_ptl.py"
  ];

  meta = with lib; {
    description = "A small and flexible Python Web application framework";
    homepage = "https://pypi.org/project/Quixote/";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}