depot/third_party/nixpkgs/pkgs/development/python-modules/crate/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

37 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 ];
};
}