ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pony / default.nix
blob4cea071d2772e39d5697e5a4a0164f5cd3493b73
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pony";
10   version = "0.7.16";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "ponyorm";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-yATIsX2nKsW5DBwg9/LznQqf+XPY3q46WZut18Sr0v0=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
26   disabledTests = [
27     # Tests are outdated
28     "test_exception_msg"
29     "test_method"
30   ];
32   pythonImportsCheck = [
33     "pony"
34   ];
36   meta = with lib; {
37     description = "Library for advanced object-relational mapping";
38     homepage = "https://ponyorm.org/";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ d-goldin xvapx ];
41   };