mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
Diff: https://foss.heptapod.net/tryton/python-sql/-/compare/1.6.0...1.7.0 Changelog: https://foss.heptapod.net/tryton/python-sql/-/blob/1.7.0/CHANGELOG
36 lines
812 B
Nix
36 lines
812 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|