blob: f50b53d47e05c39cae5ac4fc44207788e5cfd9ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib, stdenv, fetchurl, db62, xercesc, xqilla }:
stdenv.mkDerivation rec {
pname = "dbxml";
version = "6.1.4";
src = fetchurl {
url = "http://download.oracle.com/berkeley-db/${pname}-${version}.tar.gz";
sha256 = "a8fc8f5e0c3b6e42741fa4dfc3b878c982ff8f5e5f14843f6a7e20d22e64251a";
};
outputs = [ "bin" "dev" "out" ];
patches = [
./cxx11.patch
./incorrect-optimization.patch
];
buildInputs = [
xercesc xqilla
];
propagatedBuildInputs = [
db62
];
configureFlags = [
"--with-berkeleydb=${db62.out}"
"--with-xerces=${xercesc}"
"--with-xqilla=${xqilla}"
# code uses register storage specifier
"CXXFLAGS=-std=c++14"
];
preConfigure = ''
cd dbxml
'';
meta = with lib; {
homepage = "https://www.oracle.com/database/berkeley-db/xml.html";
description = "Embeddable XML database based on Berkeley DB";
license = licenses.agpl3Only;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}
|