diff options
| author | Naïm Favier <n@monade.li> | 2023-02-11 14:03:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-11 14:03:56 +0100 |
| commit | 86a387351acf96b7137f5f385d978bf3681c7239 (patch) | |
| tree | 893ce1c726bda9df7ec2e3d1649ba811563570ab /pkgs/development/python-modules/python-sql | |
| parent | 5d012c4bb21fa9bee9f34339f95ef8fffa052d56 (diff) | |
| parent | d8d4f25cd2ba0af3a7d35ebce9e05d1eb58b03f4 (diff) | |
Merge branch 'master' into nixos/hostapd
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
| -rw-r--r-- | pkgs/development/python-modules/python-sql/default.nix | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/python-sql/default.nix b/pkgs/development/python-modules/python-sql/default.nix index b6a489343721..58a5cd625fc4 100644 --- a/pkgs/development/python-modules/python-sql/default.nix +++ b/pkgs/development/python-modules/python-sql/default.nix @@ -1,18 +1,34 @@ -{ lib, fetchPypi, buildPythonPackage }: +{ lib +, fetchPypi +, buildPythonPackage +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "python-sql"; - version = "1.1.0"; + version = "1.4.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "0f0g10y0whvax8yv0rfs7b4yd68lbxbss1za0mvbvr65b8r3pdxz"; + hash = "sha256-b+dkCC9IiR2Ffqfm+kJfpU8TUx3fa4nyTAmOZGrRtLY="; }; - meta = { - homepage = "https://python-sql.tryton.org/"; - description = "A library to write SQL queries in a pythonic way"; - maintainers = with lib.maintainers; [ johbo ]; - license = lib.licenses.bsd3; + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "sql" + ]; + + meta = with lib; { + description = "Library to write SQL queries in a pythonic way"; + homepage = "https://pypi.org/project/python-sql/"; + license = licenses.bsd3; + maintainers = with maintainers; [ johbo ]; }; } |
