2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2010-09-22 18:04:34 +00:00
|
|
|
|
2021-06-22 13:21:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xbase";
|
|
|
|
version = "3.1.2";
|
2010-09-22 18:04:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 13:21:29 +00:00
|
|
|
url = "mirror://sourceforge/xdb/xbase64-${version}.tar.gz";
|
2010-09-22 18:04:34 +00:00
|
|
|
sha256 = "17287kz1nmmm64y7zp9nhhl7slzlba09h6cc83w4mvsqwd9w882r";
|
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = "find . -type f -not -name configure -print0 | xargs -0 chmod -x";
|
2013-10-30 20:40:41 +00:00
|
|
|
patches = [
|
|
|
|
./xbase-fixes.patch
|
|
|
|
(fetchurl {
|
2022-02-02 06:48:42 +00:00
|
|
|
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc47.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
|
2013-10-30 20:40:41 +00:00
|
|
|
sha256 = "1kpcrkkcqdwl609yd0qxlvp743icz3vni13993sz6fkgn5lah8yl";
|
|
|
|
})
|
2017-08-30 16:32:45 +00:00
|
|
|
(fetchurl {
|
2022-02-02 06:48:42 +00:00
|
|
|
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc6.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
|
2017-08-30 16:32:45 +00:00
|
|
|
sha256 = "1994pqiip5njkcmm5czb1bg6zdldkx1mpandgmvzqrja0iacf953";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2022-02-02 06:48:42 +00:00
|
|
|
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-db/xbase/files/xbase-3.1.2-gcc7.patch?id=0b9005ad4b5b743707922877e5157ba6ecdf224f";
|
2017-08-30 16:32:45 +00:00
|
|
|
sha256 = "1304gn9dbdv8xf61crkg0fc8cal0h4qkyhlbqa8y618w134cxh1q";
|
|
|
|
})
|
2013-10-30 20:40:41 +00:00
|
|
|
];
|
2010-09-22 18:04:34 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://linux.techass.com/projects/xdb/";
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "C++ class library formerly known as XDB";
|
2018-10-27 13:51:47 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
2010-09-22 18:04:34 +00:00
|
|
|
};
|
|
|
|
}
|