summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-05-04 12:01:49 +0000
committerGitHub <noreply@github.com>2022-05-04 12:01:49 +0000
commiteba158d017b88fdc0f5e020e454765dbddaaf0e5 (patch)
treeded2cfc5e0b6e2bc6537813d405e4c87853ac184 /pkgs/development/python-modules/python-sql
parent8acc9a6a2a4e1d863eeaccef1733e193e3d6bc16 (diff)
parent16684f8bd31ed932e8e6f30e3c9c6158b466ae93 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
-rw-r--r--pkgs/development/python-modules/python-sql/default.nix32
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 a32dcfa5f003..91012839d053 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 ];
};
}