nixpkgs/pkgs/development/python-modules/agate-sql/default.nix
Martin Weinelt 25129b279c python3Packages.agate-sql: 0.7.2 -> 0.7.3
This commit was automatically generated using update-python-libraries.
2026-02-01 16:40:38 +01:00

49 lines
903 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
agate,
setuptools,
sqlalchemy,
pytestCheckHook,
geojson,
}:
buildPythonPackage (finalAttrs: {
pname = "agate-sql";
version = "0.7.3";
pyproject = true;
src = fetchFromGitHub {
owner = "wireservice";
repo = "agate-sql";
tag = finalAttrs.version;
hash = "sha256-YPpvLMidW0RnNz1x6FK1QwhOIc9AhwnSm6vxUzbLLBM=";
};
build-system = [ setuptools ];
dependencies = [
agate
sqlalchemy
];
nativeCheckInputs = [
geojson
pytestCheckHook
];
pythonImportsCheck = [ "agatesql" ];
disabledTests = [
# requires crate (sqlalchemy-cratedb)
"test_to_sql_create_statement_with_dialects"
];
meta = {
description = "Adds SQL read/write support to agate";
homepage = "https://github.com/wireservice/agate-sql";
license = with lib.licenses; [ mit ];
maintainers = [ ];
};
})