Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 817 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, urllib3 5, geojson 6, isPy3k 7, sqlalchemy 8, pytestCheckHook 9, stdenv 10}: 11 12buildPythonPackage rec { 13 pname = "crate"; 14 version = "0.26.0"; 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "6f650c2efe250b89bf35f8fe3211eb37ebc8d76f7a9c09bd73db3076708fa2fc"; 20 }; 21 22 propagatedBuildInputs = [ 23 urllib3 24 sqlalchemy 25 geojson 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 ]; 31 32 disabledTests = [ 33 "RequestsCaBundleTest" 34 ]; 35 disabledTestPaths = lib.optionals stdenv.isDarwin [ "src/crate/client/test_http.py" ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/crate/crate-python"; 39 description = "A Python client library for CrateDB"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ doronbehar ]; 42 }; 43}