ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
31 lines
653 B
Nix
31 lines
653 B
Nix
{ cmake
|
|
, fetchFromGitHub
|
|
, sqlite
|
|
, lib, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "soci";
|
|
version = "4.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SOCI";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "06faswdxd2frqr9xnx6bxc7zwarlzsbdi3bqpz7kwdxsjvq41rnb";
|
|
};
|
|
|
|
# Do not build static libraries
|
|
cmakeFlags = [ "-DSOCI_STATIC=OFF" ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ sqlite ];
|
|
|
|
meta = with lib; {
|
|
description = "Database access library for C++";
|
|
homepage = "http://soci.sourceforge.net/";
|
|
license = licenses.boost;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|