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