anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / phx-class-registry / default.nix
blob29255f6bfd5081e7c3acb73cfdeac6e0c3af39d4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "class-registry";
11   version = "4.1.0";
12   disabled = pythonOlder "3.5";
14   src = fetchFromGitHub {
15     owner = "todofixthis";
16     repo = pname;
17     rev = "refs/tags/${version}";
18     hash = "sha256-kJbyUzyklVSvW6bBxTTTrY+WhfcV0GUf/+Pzyv+7sEA=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "class_registry" ];
25   meta = with lib; {
26     description = "Factory and registry pattern for Python classes";
27     homepage = "https://class-registry.readthedocs.io/en/latest/";
28     license = licenses.mit;
29     maintainers = with maintainers; [
30       hrdinka
31     ];
32   };