python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / xbase / default.nix
blobd87bcac9829f89bfeb0edab86cfd1b4b7b42dae1
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "xbase";
5   version = "3.1.2";
7   src = fetchurl {
8     url = "mirror://sourceforge/xdb/xbase64-${version}.tar.gz";
9     sha256 = "17287kz1nmmm64y7zp9nhhl7slzlba09h6cc83w4mvsqwd9w882r";
10   };
12   prePatch = "find . -type f -not -name configure -print0 | xargs -0 chmod -x";
13   patches = [
14     ./xbase-fixes.patch
15     (fetchurl {
16       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc47.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
17       sha256 = "1kpcrkkcqdwl609yd0qxlvp743icz3vni13993sz6fkgn5lah8yl";
18     })
19     (fetchurl {
20       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc6.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
21       sha256 = "1994pqiip5njkcmm5czb1bg6zdldkx1mpandgmvzqrja0iacf953";
22     })
23     (fetchurl {
24       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc7.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
25       sha256 = "1304gn9dbdv8xf61crkg0fc8cal0h4qkyhlbqa8y618w134cxh1q";
26     })
27   ];
29   meta = with lib; {
30     homepage = "http://linux.techass.com/projects/xdb/";
31     description = "C++ class library formerly known as XDB";
32     platforms = platforms.linux;
33     license = licenses.lgpl2;
34   };