summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/yapsy/default.nix
blob: 8041c2b8b2b1536b73c0ac510c3a5161d3525c81 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  unstableGitUpdater,
}:

buildPythonPackage rec {
  pname = "yapsy";
  version = "1.12.2-unstable-2023-03-28";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tibonihoo";
    repo = "yapsy";
    rev = "6b487b04affb19ab40adbbc87827668bea0abcee";
    hash = "sha256-QKZlUAhYMCCsT/jbEHb39ESZ2+2FZYnhJnc1PgsozBA=";
  };

  sourceRoot = "${src.name}/package";

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "yapsy" ];

  passthru.updateScript = unstableGitUpdater {
    tagPrefix = "release_Yapsy-";
  };

  meta = {
    homepage = "https://yapsy.sourceforge.net/";
    description = "Yet another plugin system";
    license = lib.licenses.bsd2;
  };
}