python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / bc-decaf / default.nix
blobacfd0e85d4f41c8c2f1256bf6c578525c6595b5a
1 { cmake
2 , fetchFromGitLab
3 , lib
4 , python3
5 , stdenv
6 }:
8 stdenv.mkDerivation rec {
9   pname = "bc-decaf";
10   version = "linphone-4.4.1";
12   nativeBuildInputs = [ cmake ];
13   buildInputs = [
14     python3
15   ];
17   src = fetchFromGitLab {
18     domain = "gitlab.linphone.org";
19     group = "BC";
20     owner = "public/external";
21     repo = "decaf";
22     rev = "6e78a9beb24d1e3d7050dd52a65e4f88b101a1fc";
23     sha256 = "sha256-D2SzkinloL0Ya9p25YUsc+7lKvoTMUsdkKrkv/5AEeY=";
24   };
26   # Do not build static libraries and do not enable -Werror
27   cmakeFlags = [ "-DENABLE_STATIC=NO" "-DENABLE_STRICT=NO" ];
29   meta = with lib; {
30     description = "Elliptic curve library supporting Ed448-Goldilocks and Curve25519. Belledonne Communications' fork for Linphone.";
31     homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
32     license = licenses.mit;
33     maintainers = with maintainers; [ thibaultlemaire ];
34     platforms = platforms.linux;
35   };