1 { lib, stdenv, fetchFromGitHub, cmake, sqlite, cppcheck, gtest }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Z1c2lQZ0UltcIf9dTnumZPhke4uEmsjg/Ygppvx3kxY=";
14 nativeBuildInputs = [ cmake ];
15 checkInputs = [ cppcheck ];
16 buildInputs = [ sqlite gtest ];
20 "-DSQLITECPP_INTERNAL_SQLITE=OFF"
21 "-DSQLITECPP_BUILD_TESTS=ON"
25 homepage = "https://srombauts.github.io/SQLiteCpp/";
26 description = "C++ SQLite3 wrapper";
27 license = licenses.mit;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.jbedo maintainers.doronbehar ];