python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / aws-c-mqtt / default.nix
blobd364d8e9ac96bbfa7b83560a401491a912fc289b
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , aws-c-cal
5 , aws-c-common
6 , aws-c-compression
7 , aws-c-http
8 , aws-c-io
9 , cmake
10 , nix
11 , s2n-tls
14 stdenv.mkDerivation rec {
15   pname = "aws-c-mqtt";
16   version = "0.7.13";
18   src = fetchFromGitHub {
19     owner = "awslabs";
20     repo = "aws-c-mqtt";
21     rev = "v${version}";
22     sha256 = "sha256-m0PJTJ+yZdJ4zU25g6H80jURPPU7wHuePcgfN6y8SKU=";
23   };
25   nativeBuildInputs = [
26     cmake
27   ];
29   buildInputs = [
30     aws-c-cal
31     aws-c-common
32     aws-c-compression
33     aws-c-http
34     aws-c-io
35     s2n-tls
36   ];
38   cmakeFlags = [
39     "-DBUILD_SHARED_LIBS=ON"
40   ];
42   passthru.tests = {
43     inherit nix;
44   };
46   meta = with lib; {
47     description = "C99 implementation of the MQTT 3.1.1 specification";
48     homepage = "https://github.com/awslabs/aws-c-mqtt";
49     license = licenses.asl20;
50     platforms = platforms.unix;
51     maintainers = with maintainers; [ r-burns ];
52   };