nixpkgs/pkgs/development/python-modules/crate/default.nix

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

51 lines
889 B
Nix
Raw Normal View History

{ lib
2020-09-09 08:42:25 +00:00
, fetchPypi
, buildPythonPackage
, urllib3
2020-12-14 04:20:00 +00:00
, geojson
2020-09-09 08:42:25 +00:00
, isPy3k
, sqlalchemy
, pytestCheckHook
, pytz
, stdenv
2020-09-09 08:42:25 +00:00
}:
buildPythonPackage rec {
pname = "crate";
version = "0.29.0";
2020-09-09 08:42:25 +00:00
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-SywW/b4DnVeSzzRiHbDaKTjcuwDnkwrK6vFfaQVIZhQ=";
2020-09-09 08:42:25 +00:00
};
propagatedBuildInputs = [
urllib3
2020-12-14 04:20:00 +00:00
sqlalchemy
geojson
2020-09-09 08:42:25 +00:00
];
nativeCheckInputs = [
2020-09-09 08:42:25 +00:00
pytestCheckHook
pytz
2020-09-09 08:42:25 +00:00
];
2021-05-08 23:44:00 +00:00
disabledTests = [
# network access
"test_layer_from_uri"
];
disabledTestPaths = [
# imports setuptools.ssl_support, which doesn't exist anymore
"src/crate/client/test_http.py"
2021-05-08 23:44:00 +00:00
];
meta = with lib; {
2020-09-09 08:42:25 +00:00
homepage = "https://github.com/crate/crate-python";
description = "A Python client library for CrateDB";
license = licenses.asl20;
maintainers = with maintainers; [ doronbehar ];
};
}