Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 873 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, cryptography 6, cython 7}: 8 9buildPythonPackage rec { 10 pname = "oracledb"; 11 version = "1.3.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-8QWkcFkWoo0z4pGPo2NAl/6DVSv16oGvw6emhSjJ4vM="; 19 }; 20 21 nativeBuildInputs = [ 22 cython 23 ]; 24 25 propagatedBuildInputs = [ 26 cryptography 27 ]; 28 29 doCheck = false; # Checks need an Oracle database 30 31 pythonImportsCheck = [ 32 "oracledb" 33 ]; 34 35 meta = with lib; { 36 description = "Python driver for Oracle Database"; 37 homepage = "https://oracle.github.io/python-oracledb"; 38 changelog = "https://github.com/oracle/python-oracledb/blob/v${version}/doc/src/release_notes.rst"; 39 license = with licenses; [ asl20 /* and or */ upl ]; 40 maintainers = with maintainers; [ harvidsen ]; 41 }; 42}