···122 done
123124 if test -d ${pkg}/share/xsessions; then
125- ${xorg.lndir}/bin/lndir ${pkg}/share/xsessions $out/share/xsessions
126 fi
127 if test -d ${pkg}/share/wayland-sessions; then
128- ${xorg.lndir}/bin/lndir ${pkg}/share/wayland-sessions $out/share/wayland-sessions
129 fi
130 '') cfg.displayManager.sessionPackages}
131 '';
···122 done
123124 if test -d ${pkg}/share/xsessions; then
125+ ${pkgs.buildPackages.xorg.lndir}/bin/lndir ${pkg}/share/xsessions $out/share/xsessions
126 fi
127 if test -d ${pkg}/share/wayland-sessions; then
128+ ${pkgs.buildPackages.xorg.lndir}/bin/lndir ${pkg}/share/wayland-sessions $out/share/wayland-sessions
129 fi
130 '') cfg.displayManager.sessionPackages}
131 '';
···1+{ lib, stdenv
2+, build2
3+, fetchurl
4+, libodb
5+, sqlite
6+, enableShared ? !stdenv.hostPlatform.isStatic
7+, enableStatic ? !enableShared
8+}:
9+stdenv.mkDerivation rec {
10+ pname = "libodb-sqlite";
11+ version = "2.5.0-b.19";
12+13+ outputs = [ "out" "dev" "doc" ];
14+15+ src = fetchurl {
16+ url = "https://pkg.cppget.org/1/beta/odb/libodb-sqlite-${version}.tar.gz";
17+ sha256 = "9443653bfc31d02d0d723f18072f6b04083d090e6580844e33c1e769db122494";
18+ };
19+20+ nativeBuildInputs = [
21+ build2
22+ ];
23+ buildInputs = [
24+ libodb
25+ ];
26+ propagatedBuildInputs = [
27+ sqlite
28+ ];
29+30+ build2ConfigureFlags = [
31+ "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
32+ ];
33+34+ doCheck = true;
35+36+ meta = with lib; {
37+ description = "SQLite ODB runtime library";
38+ longDescription = ''
39+ ODB is an object-relational mapping (ORM) system for C++. It provides
40+ tools, APIs, and library support that allow you to persist C++ objects
41+ to a relational database (RDBMS) without having to deal with tables,
42+ columns, or SQL and without manually writing any of the mapping code.
43+ For more information see:
44+45+ http://www.codesynthesis.com/products/odb/
46+47+ This package contains the SQLite ODB runtime library. Every application
48+ that includes code generated for the SQLite database will need to link
49+ to this library.
50+ '';
51+ homepage = "https://www.codesynthesis.com/products/odb/";
52+ changelog = "https://git.codesynthesis.com/cgit/odb/libodb-sqlite/tree/NEWS";
53+ license = licenses.gpl2Only;
54+ maintainers = with maintainers; [ r-burns ];
55+ };
56+}
+45
pkgs/development/libraries/libodb/default.nix
···000000000000000000000000000000000000000000000
···1+{ lib, stdenv
2+, build2
3+, fetchurl
4+, enableShared ? !stdenv.hostPlatform.isStatic
5+, enableStatic ? !enableShared
6+}:
7+stdenv.mkDerivation rec {
8+ pname = "libodb";
9+ version = "2.5.0-b.19";
10+11+ outputs = [ "out" "dev" "doc" ];
12+13+ src = fetchurl {
14+ url = "https://pkg.cppget.org/1/beta/odb/libodb-${version}.tar.gz";
15+ sha256 = "8180d9d40d8e74ed25b1712953f19379a29abdee3896ae98ba9ade35846adb39";
16+ };
17+18+ nativeBuildInputs = [ build2 ];
19+ build2ConfigureFlags = [
20+ "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
21+ ];
22+23+ doCheck = true;
24+25+ meta = with lib; {
26+ description = "Common ODB runtime library";
27+ longDescription = ''
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:
33+34+ http://www.codesynthesis.com/products/odb/
35+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
38+ this library.
39+ '';
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+ };
45+}
···21 sha256 = "sha256-UKroV1p7jYuNzCAFMsuUsYC/C9AZ1D4rhwpwuER39vc=";
22 };
2324+ # This patch should be obsolete and should stop applying the in next release.
25+ patches = [ ./fix-compilation-with-olm-3.2.5.patch ];
26+27 cmakeFlags = [
28 # Network requiring tests can't be disabled individually:
29 # https://github.com/Nheko-Reborn/mtxclient/issues/22