4 , enableShared ? !stdenv.hostPlatform.isStatic
5 , enableStatic ? !enableShared
7 stdenv.mkDerivation rec {
9 version = "2.5.0-b.27";
11 outputs = [ "out" "dev" "doc" ];
14 url = "https://pkg.cppget.org/1/beta/odb/libodb-${version}.tar.gz";
15 hash = "sha256-04Et/wHYsWvJPLlcL0J2iOPV2SBFC6J32EleGw38K2Q=";
18 nativeBuildInputs = [ build2 ];
19 build2ConfigureFlags = [
20 "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
26 description = "Common ODB runtime library";
28 ODB is an object-relational mapping (ORM) system for C++. It provides
29 tools, APIs, and library support that allow you to persist C++ objects
30 to a relational database (RDBMS) without having to deal with tables,
31 columns, or SQL and without manually writing any of the mapping code.
32 For more information see:
34 http://www.codesynthesis.com/products/odb/
36 This package contains the common ODB runtime library. Every application
37 that includes code generated by the ODB compiler will need to link to
40 homepage = "https://www.codesynthesis.com/products/odb/";
41 changelog = "https://git.codesynthesis.com/cgit/odb/libodb/tree/NEWS";
42 license = licenses.gpl2Only;
43 maintainers = with maintainers; [ r-burns ];
44 platforms = platforms.all;