Open prehonor opened 9 months ago
` { lib, stdenv , build2 , fetchurl , xercesc }: stdenv.mkDerivation rec { pname = "libcutl"; version = "1.11.0-b.9+1"; #1.11.0-b.8 1.11.0-b.9+1
outputs = [ "out" "dev" "doc" ];
majmin = builtins.head ( builtins.match "([[:digit:]]+).*" "${version}" ); src = fetchurl { url = "https://pkg.cppget.org/${majmin}/beta/${pname}/${pname}-${version}.tar.gz"; sha256 = "sha256-GY443axh8jNGhlCenZcme3bnbf3mw3ic3RNSTzHxFHY="; #sha256-v0BtncxetxuMKVham6SA8LwJImss93ow+a0rvldILeI= sha256-GY443axh8jNGhlCenZcme3bnbf3mw3ic3RNSTzHxFHY= };
nativeBuildInputs = [ build2 ]; buildInputs = [ xercesc ]; enableParallelBuilding = true;
meta = with lib; { description = "libcutl"; longDescription = ''
http://www.codesynthesis.com/products/libcutl/
'';
homepage = "https://www.codesynthesis.com/products/libcutl/";
changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/tree/NEWS";
license = licenses.gpl2Only;
maintainers = with maintainers; [ r-burns ];
platforms = platforms.all;
}; } `
`{ lib, stdenv , build2 , fetchurl , gmp , libcutl , libstudxml , enableShared ? !stdenv.hostPlatform.isStatic , enableStatic ? !enableShared }: stdenv.mkDerivation rec { pname = "odb"; version = "2.5.0-b.25+1";
outputs = [ "out" "dev" "doc" ];
src = fetchurl { url = "https://pkg.cppget.org/1/beta/odb/odb-${version}.tar.gz"; hash = "sha256-JLjTo8rw7Kg6XDJWzj3xiofcUaLJqaY/PVpGhDj3m7A="; };
nativeBuildInputs = [ build2 ]; buildInputs = [ libcutl libstudxml gmp ];
build2ConfigureFlags = [ "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}" ];
doCheck = true;
meta = with lib; { description = "odb"; longDescription = '' ODB compiler http://www.codesynthesis.com/products/odb/
'';
homepage = "https://www.codesynthesis.com/products/odb/";
changelog = "https://git.codesynthesis.com/cgit/odb/odb/tree/NEWS";
license = licenses.gpl2Only;
maintainers = with maintainers; [ r-burns ];
platforms = platforms.all;
}; }`
`{ lib, stdenv , build2 , fetchurl , libodb , postgresql , enableShared ? !stdenv.hostPlatform.isStatic , enableStatic ? !enableShared }: stdenv.mkDerivation rec { pname = "libodb-postgresql"; version = "2.5.0-b.25";
outputs = [ "out" "dev" "doc" ];
src = fetchurl { url = "https://pkg.cppget.org/1/beta/odb/libodb-pgsql-${version}.tar.gz"; hash = "sha256-/a2hWFHu9MzDmypaLrPQa/OdSSbSCBSoE3XoZiTh6Ps="; };
nativeBuildInputs = [ build2 ]; buildInputs = [ libodb postgresql.lib ]; propagatedBuildInputs = [ postgresql ];
build2ConfigureFlags = [ "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}" ];
doCheck = true;
meta = with lib; { description = "Postgresql ODB runtime library"; longDescription = '' ODB is an object-relational mapping (ORM) system for C++. It provides tools, APIs, and library support that allow you to persist C++ objects to a relational database (RDBMS) without having to deal with tables, columns, or SQL and without manually writing any of the mapping code. For more information see:
http://www.codesynthesis.com/products/odb/
This package contains the postgresql ODB runtime library. Every application
that includes code generated for the postgresql database will need to link
to this library.
'';
homepage = "https://www.codesynthesis.com/products/odb/";
changelog = "https://git.codesynthesis.com/cgit/odb/libodb-postgresql/tree/NEWS";
license = licenses.gpl2Only;
maintainers = with maintainers; [ r-burns ];
platforms = platforms.all;
}; }`
Project description
Metadata
ODB is an open-source, cross-platform, and cross-database object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any mapping code. ODB supports MySQL, SQLite, PostgreSQL, Oracle, and Microsoft SQL Server relational databases as well as C++98/03 and C++11 language standards. It also comes with optional profiles for Boost and Qt which allow you to seamlessly use value types, containers, and smart pointers from these libraries in your persistent C++ classes.