python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / pony / default.nix
blob13a941558c828f6ad82b6e596559e7058a0fad72
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonAtLeast,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "pony";
13   version = "0.7.19";
14   pyproject = true;
16   disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
18   src = fetchFromGitHub {
19     owner = "ponyorm";
20     repo = "pony";
21     tag = "v${version}";
22     hash = "sha256-fYzwdHRB9QrIJPEk8dqtPggSnJeugDyC9zQSM6u3rN0=";
23   };
25   build-system = [ setuptools ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   disabledTests = [
30     # Tests are outdated
31     "test_method"
32     # https://github.com/ponyorm/pony/issues/704
33     "test_composite_param"
34     "test_equal_json"
35     "test_equal_list"
36     "test_len"
37     "test_ne"
38     "test_nonzero"
39     "test_query"
40   ];
42   pythonImportsCheck = [ "pony" ];
44   meta = with lib; {
45     description = "Library for advanced object-relational mapping";
46     homepage = "https://ponyorm.org/";
47     changelog = "https://github.com/ponyorm/pony/releases/tag/v${version}";
48     license = licenses.asl20;
49     maintainers = with maintainers; [
50       d-goldin
51       xvapx
52     ];
53   };