summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/plone-testing/default.nix
blob: 75b1b83e77c5685675227988e02708c24fd0c947 (plain)
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
41
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  zope-testing,
  setuptools,
}:

buildPythonPackage rec {
  pname = "plone-testing";
  version = "9.0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "plone";
    repo = "plone.testing";
    tag = version;
    hash = "sha256-5DaN0o/EaWwdMvmLW12zdNXJ3p6dowALJ10zrhUT3dA=";
  };

  build-system = [ setuptools ];

  dependencies = [
    setuptools
    zope-testing
  ];

  pythonImportsCheck = [ "plone.testing" ];

  # Huge amount of testing dependencies (including Zope2)
  doCheck = false;

  pythonNamespaces = [ "plone" ];

  meta = {
    description = "Testing infrastructure for Zope and Plone projects";
    homepage = "https://github.com/plone/plone.testing";
    changelog = "https://github.com/plone/plone.testing/blob/${src.tag}/CHANGES.rst";
    license = lib.licenses.bsd3;
  };
}