diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2022-05-04 12:30:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 12:30:40 +0200 |
commit | dc93a4a066c6e5f2bfbd9321ee15939ac6638c3c (patch) | |
tree | 0b6b7a46342ed5c95d772aa02bce6082e406a3c9 /pkgs/development | |
parent | dc07d54b7add885dd4f64518d6dc15d783ed92d1 (diff) | |
parent | 4381a2796d19c099a0ee29342b105aeabd036f60 (diff) |
Merge pull request #171412 from r-ryantm/auto-update/python3.10-python-sql
python310Packages.python-sql: 1.3.0 -> 1.4.0
Diffstat (limited to 'pkgs/development')
-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 a32dcfa5f0037..91012839d0538 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.3.0"; + version = "1.4.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "9d603a6273f2f5966bab7ce77e1f50e88818d5237ac85e566e2dc84ebfabd176"; + 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; + checkInputs = [ + 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 ]; }; } |