10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-NE0ApbX8HG2VAQ9cg9+kX3kJQ4PR1XvWL9BlT8NphmE=";
23 name = "fix-backend-search-path.patch";
24 url = "https://github.com/SOCI/soci/commit/56c93afc467bdba8ffbe68739eea76059ea62f7a.patch";
25 sha256 = "sha256-nC/39pn3Cv5e65GgIfF3l64/AbCsfZHPUPIWETZFZAY=";
29 # Do not build static libraries
30 cmakeFlags = [ "-DSOCI_STATIC=OFF" "-DCMAKE_CXX_STANDARD=11" "-DSOCI_TESTS=off" ];
32 nativeBuildInputs = [ cmake ];
40 description = "Database access library for C++";
41 homepage = "https://soci.sourceforge.net/";
42 license = licenses.boost;
43 platforms = platforms.all;
44 maintainers = with maintainers; [ jluttine ];