blob: 837310349afb066cb532ed6be21ca02a8783b273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
fetchFromGitLab,
buildPythonPackage,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "python-sql";
version = "1.7.0";
pyproject = true;
src = fetchFromGitLab {
domain = "foss.heptapod.net";
owner = "tryton";
repo = "python-sql";
tag = version;
hash = "sha256-JhMJEng6QftWBmJIC2pYlf9fkHHmSd3k0tSwr35MmVQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sql" ];
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/${src.tag}/CHANGELOG";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ johbo ];
};
}
|