summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pluginbase/default.nix
blob: eb318545012fa7cfea82ba1be6e398f246c3cae7 (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
{
  lib,
  fetchPypi,
  buildPythonPackage,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pluginbase";
  version = "1.0.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-/2wzqY/OIy6cc4QdeHpkPeV0k3Bp8NGBRwKNcNfe4oc=";
  };

  build-system = [ setuptools ];

  # https://github.com/mitsuhiko/pluginbase/issues/24
  doCheck = false;

  pythonImportsCheck = [ "pluginbase" ];

  meta = {
    description = "Support library for building plugins systems in Python";
    homepage = "https://github.com/mitsuhiko/pluginbase";
    changelog = "https://github.com/mitsuhiko/pluginbase/releases/tag/${version}";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}