2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
isPy27,
|
|
|
|
fetchPypi,
|
|
|
|
agate,
|
|
|
|
sqlalchemy,
|
|
|
|
crate,
|
|
|
|
pytestCheckHook,
|
|
|
|
geojson,
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-09 03:18:52 +00:00
|
|
|
pname = "agate-sql";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.7.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
2021-03-15 08:37:03 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-mxswKEpXP9QWdZQ3Jz3MXIECK98vrLJLSqAppir9U7A=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
agate
|
|
|
|
sqlalchemy
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
crate
|
|
|
|
geojson
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "agatesql" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Adds SQL read/write support to agate";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://github.com/wireservice/agate-sql";
|
|
|
|
license = with licenses; [ mit ];
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|