nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 pytest-cov-stub,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "pastedeploy";
12 version = "3.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "Pylons";
17 repo = "pastedeploy";
18 tag = version;
19 hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 pytest-cov-stub
27 ];
28
29 pythonImportsCheck = [ "paste.deploy" ];
30
31 meta = {
32 description = "Load, configure, and compose WSGI applications and servers";
33 homepage = "https://github.com/Pylons/pastedeploy";
34 changelog = "https://github.com/Pylons/pastedeploy/blob/${src.tag}/docs/news.rst";
35 license = lib.licenses.mit;
36 teams = [ lib.teams.openstack ];
37 };
38}