nixpkgs/pkgs/development/libraries/libodb/default.nix
Ryan Burns 1c6b48a423 build2: 0.13.0 -> 0.14.0
This is a breaking update (at least for the internal C++ APIs) so the
packages all need to be updated in lockstep.

Misc notes:

* build2
  * Remove unnecessary pkg-config patch
  * Trivially refresh remove-config-store-paths.patch
* libbutl
  * Enable tests now that they work with NDEBUG
* libodb
  * update 2.5.0-b.19 -> 2.5.0-b.21
2021-10-24 13:03:48 -07:00

46 lines
1.4 KiB
Nix

{ lib, stdenv
, build2
, fetchurl
, enableShared ? !stdenv.hostPlatform.isStatic
, enableStatic ? !enableShared
}:
stdenv.mkDerivation rec {
pname = "libodb";
version = "2.5.0-b.21";
outputs = [ "out" "dev" "doc" ];
src = fetchurl {
url = "https://pkg.cppget.org/1/beta/odb/libodb-${version}.tar.gz";
sha256 = "sha256-Q4HZ8zU5osZ9Phz59ZAjXh0dbB8ELBY5gMRbDnawCWs=";
};
nativeBuildInputs = [ build2 ];
build2ConfigureFlags = [
"config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
];
doCheck = true;
meta = with lib; {
description = "Common 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 common ODB runtime library. Every application
that includes code generated by the ODB compiler will need to link to
this library.
'';
homepage = "https://www.codesynthesis.com/products/odb/";
changelog = "https://git.codesynthesis.com/cgit/odb/libodb/tree/NEWS";
license = licenses.gpl2Only;
maintainers = with maintainers; [ r-burns ];
};
}