Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
911 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, cryptography, cython, fetchPypi, pythonOlder, setuptools, wheel,}:
buildPythonPackage rec { pname = "oracledb"; version = "3.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-m/nxyT5TFCsz0cXr9aur7r0gYqAdXq1ou7ZAQ57PIiM="; };
build-system = [ cython setuptools wheel ];
dependencies = [ cryptography ];
# Checks need an Oracle database doCheck = false;
pythonImportsCheck = [ "oracledb" ];
meta = with lib; { description = "Python driver for Oracle Database"; homepage = "https://oracle.github.io/python-oracledb"; changelog = "https://github.com/oracle/python-oracledb/blob/v${version}/doc/src/release_notes.rst"; license = with licenses; [ asl20 # and or upl ]; maintainers = with maintainers; [ harvidsen ]; };}