a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
35 lines
701 B
Nix
35 lines
701 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, isPy27
|
|
, fetchPypi
|
|
, agate
|
|
, sqlalchemy
|
|
, crate
|
|
, pytestCheckHook
|
|
, geojson
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "agate-sql";
|
|
version = "0.5.9";
|
|
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-MLZCoypbZxFhq++ejsNjUvLniiTOhJBU7axpRti53cY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ agate sqlalchemy ];
|
|
|
|
nativeCheckInputs = [ crate geojson pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "agatesql" ];
|
|
|
|
meta = with lib; {
|
|
description = "Adds SQL read/write support to agate.";
|
|
homepage = "https://github.com/wireservice/agate-sql";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ vrthra ];
|
|
};
|
|
}
|