depot/third_party/nixpkgs/pkgs/development/python-modules/quixote/default.nix

41 lines
800 B
Nix
Raw Normal View History

{
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 ];
};
}