2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, db62, xercesc, xqilla }:
|
2018-07-24 07:21:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dbxml";
|
2018-07-24 07:21:57 +01:00
|
|
|
version = "6.1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://download.oracle.com/berkeley-db/${pname}-${version}.tar.gz";
|
2018-07-24 07:21:57 +01:00
|
|
|
sha256 = "a8fc8f5e0c3b6e42741fa4dfc3b878c982ff8f5e5f14843f6a7e20d22e64251a";
|
|
|
|
};
|
|
|
|
|
2020-07-18 12:51:21 +01:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
|
|
|
|
2018-07-24 07:21:57 +01:00
|
|
|
patches = [
|
|
|
|
./cxx11.patch
|
|
|
|
./incorrect-optimization.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-09-01 15:09:44 +01:00
|
|
|
xercesc xqilla
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
db62
|
2018-07-24 07:21:57 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-berkeleydb=${db62.out}"
|
|
|
|
"--with-xerces=${xercesc}"
|
|
|
|
"--with-xqilla=${xqilla}"
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd dbxml
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.oracle.com/database/berkeley-db/xml.html";
|
2018-07-24 07:21:57 +01:00
|
|
|
description = "Embeddable XML database based on Berkeley DB";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ danieldk ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|