Files
nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix
2025-06-02 05:56:33 +02:00

42 lines
867 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pastedeploy";
version = "3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Pylons";
repo = "pastedeploy";
tag = version;
hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "paste.deploy" ];
meta = {
description = "Load, configure, and compose WSGI applications and servers";
homepage = "https://github.com/Pylons/pastedeploy";
changelog = "https://github.com/Pylons/pastedeploy/blob/${src.tag}/docs/news.rst";
license = lib.licenses.mit;
teams = [ lib.teams.openstack ];
};
}