python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / mongoc / default.nix
blob8b5753b3aca991e47f90fc078428ea9f9a56c391
1 { lib, stdenv, fetchzip, perl, pkg-config, libbson
2 , openssl, which, zlib, snappy
3 }:
5 stdenv.mkDerivation rec {
6   pname = "mongoc";
7   version = "1.8.0";
9   src = fetchzip {
10     url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
11     sha256 = "1vnnk3pwbcmwva1010bl111kdcdx3yb2w7j7a78hhvrm1k9r1wp8";
12   };
14   nativeBuildInputs = [ pkg-config which perl ];
15   buildInputs = [ openssl zlib ];
16   propagatedBuildInputs = [ libbson snappy ];
18   enableParallelBuilding = true;
20   meta = with lib; {
21     description = "The official C client library for MongoDB";
22     homepage = "http://mongoc.org";
23     license = licenses.asl20;
24     mainProgram = "mongoc-stat";
25     platforms = platforms.all;
26   };