diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-09-09 11:42:25 +0300 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-09-20 08:29:18 -0700 |
commit | d07100d89f3755304b22f36eb10ed2e2182e5c11 (patch) | |
tree | 99308a2a27a7343f7c5554d2340742e6774f3db8 /pkgs/development/python-modules/crate | |
parent | a28068a992d3da5156d5594d50fb8ad2444f18b5 (diff) |
python3Packages.crate: init at 0.24.0
Diffstat (limited to 'pkgs/development/python-modules/crate')
-rw-r--r-- | pkgs/development/python-modules/crate/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/crate/default.nix b/pkgs/development/python-modules/crate/default.nix new file mode 100644 index 0000000000000..42236b4d7c225 --- /dev/null +++ b/pkgs/development/python-modules/crate/default.nix @@ -0,0 +1,37 @@ +{ 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 ]; + }; +} |