1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/libraries/soci/default.nix
2021-01-21 19:11:02 -08:00

32 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 ];
};
}