nixpkgs/pkgs/development/python-modules/crate/default.nix
2020-09-20 08:29:18 -07:00

38 lines
658 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, urllib3
, isPy3k
, mock
, sqlalchemy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "crate";
version = "0.24.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "028q9r1qyqkq185awkazhplfy7y1081963fnjzi3kf3lxvz6yhay";
};
propagatedBuildInputs = [
urllib3
];
checkInputs = [
pytestCheckHook
sqlalchemy
mock
];
meta = with stdenv.lib; {
homepage = "https://github.com/crate/crate-python";
description = "A Python client library for CrateDB";
license = licenses.asl20;
maintainers = with maintainers; [ doronbehar ];
};
}