python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / dbxml / default.nix
blobc65e7ad93eca470978f147d7fbaca708d1e4b00c
1 { lib, stdenv, fetchurl, db62, xercesc, xqilla }:
3 stdenv.mkDerivation rec {
4   pname = "dbxml";
5   version = "6.1.4";
7   src = fetchurl {
8     url = "http://download.oracle.com/berkeley-db/${pname}-${version}.tar.gz";
9     sha256 = "a8fc8f5e0c3b6e42741fa4dfc3b878c982ff8f5e5f14843f6a7e20d22e64251a";
10   };
12   outputs = [ "bin" "dev" "out" ];
14   patches = [
15     ./cxx11.patch
16     ./incorrect-optimization.patch
17   ];
19   buildInputs = [
20     xercesc xqilla
21   ];
23   propagatedBuildInputs = [
24     db62
25   ];
27   configureFlags = [
28     "--with-berkeleydb=${db62.out}"
29     "--with-xerces=${xercesc}"
30     "--with-xqilla=${xqilla}"
31   ];
33   preConfigure = ''
34     cd dbxml
35   '';
37   meta = with lib; {
38     homepage = "https://www.oracle.com/database/berkeley-db/xml.html";
39     description = "Embeddable XML database based on Berkeley DB";
40     license = licenses.agpl3;
41     maintainers = with maintainers; [ ];
42     platforms = platforms.unix;
43   };