diff options
| author | dotlambda <github@dotlambda.de> | 2025-12-02 06:16:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-02 06:16:39 +0000 |
| commit | 70039403acd26fee4b57324f39de9faeaad39abd (patch) | |
| tree | 1a41c55f6a7034351f882f5e155c9f9b35db9e3b /pkgs/development/python-modules/python-sql | |
| parent | 11f81a46e07346f444d739b532042c3f9db5b6a5 (diff) | |
| parent | 955f96b09d10c926f5d8cfa4396a2700b0b7bbad (diff) | |
python3Packages.python-sql: 1.6.0 -> 1.7.0 (#466350)
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
| -rw-r--r-- | pkgs/development/python-modules/python-sql/default.nix | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/python-sql/default.nix b/pkgs/development/python-modules/python-sql/default.nix index f42a3cf0d79c..837310349afb 100644 --- a/pkgs/development/python-modules/python-sql/default.nix +++ b/pkgs/development/python-modules/python-sql/default.nix @@ -1,33 +1,35 @@ { lib, - fetchPypi, + fetchFromGitLab, buildPythonPackage, pytestCheckHook, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "python-sql"; - version = "1.6.0"; - format = "setuptools"; + version = "1.7.0"; + pyproject = true; - disabled = pythonOlder "3.7"; - - src = fetchPypi { - pname = "python_sql"; - inherit version; - hash = "sha256-WzShJOitdMU6zZckhoS1v7tFODiPZnZmKYGjJxg+w2w="; + src = fetchFromGitLab { + domain = "foss.heptapod.net"; + owner = "tryton"; + repo = "python-sql"; + tag = version; + hash = "sha256-JhMJEng6QftWBmJIC2pYlf9fkHHmSd3k0tSwr35MmVQ="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "sql" ]; - meta = with lib; { + meta = { description = "Library to write SQL queries in a pythonic way"; homepage = "https://foss.heptapod.net/tryton/python-sql"; - changelog = "https://foss.heptapod.net/tryton/python-sql/-/blob/${version}/CHANGELOG"; - license = licenses.bsd3; - maintainers = with maintainers; [ johbo ]; + changelog = "https://foss.heptapod.net/tryton/python-sql/-/blob/${src.tag}/CHANGELOG"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ johbo ]; }; } |
