Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
670 B
Nix
35 lines
670 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
odpic,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cx-oracle";
|
|
version = "8.3.0";
|
|
format = "setuptools";
|
|
|
|
buildInputs = [ odpic ];
|
|
|
|
src = fetchPypi {
|
|
pname = "cx_Oracle";
|
|
inherit version;
|
|
sha256 = "3b2d215af4441463c97ea469b9cc307460739f89fdfa8ea222ea3518f1a424d9";
|
|
};
|
|
|
|
preConfigure = ''
|
|
export ODPIC_INC_DIR="${odpic}/include"
|
|
export ODPIC_LIB_DIR="${odpic}/lib"
|
|
'';
|
|
|
|
# Check need an Oracle database to run
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python interface to Oracle";
|
|
homepage = "https://oracle.github.io/python-cx_Oracle";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|