nixpkgs/pkgs/development/python-modules/agate-sql/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
701 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, agate
, sqlalchemy
, crate
, pytestCheckHook
, geojson
}:
2017-05-03 04:12:09 +00:00
buildPythonPackage rec {
pname = "agate-sql";
version = "0.5.9";
2017-05-03 04:12:09 +00:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MLZCoypbZxFhq++ejsNjUvLniiTOhJBU7axpRti53cY=";
};
2017-05-03 04:12:09 +00:00
propagatedBuildInputs = [ agate sqlalchemy ];
nativeCheckInputs = [ crate geojson pytestCheckHook ];
2017-05-03 04:12:09 +00:00
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 ];
};
2017-05-03 04:12:09 +00:00
}