nixpkgs/pkgs/development/libraries/bctoolbox/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
890 B
Nix
Raw Normal View History

2020-03-20 08:31:25 +00:00
{ bcunit
, cmake
, bc-decaf
2020-03-20 08:31:25 +00:00
, fetchFromGitLab
, mbedtls_2
, lib
, stdenv
2020-03-20 08:31:25 +00:00
}:
2016-09-05 22:16:45 +00:00
stdenv.mkDerivation rec {
pname = "bctoolbox";
2023-10-17 09:19:40 +00:00
version = "5.2.109";
nativeBuildInputs = [
cmake
];
buildInputs = [
# Made by BC
bcunit
# Vendored by BC
bc-decaf
mbedtls_2
];
2020-03-20 08:31:25 +00:00
src = fetchFromGitLab {
domain = "gitlab.linphone.org";
owner = "public";
group = "BC";
repo = pname;
2019-09-08 23:38:31 +00:00
rev = version;
2023-10-17 09:19:40 +00:00
hash = "sha256-OwwSGzMFwR2ajUUgAy7ea/Q2pWxn3DO72W7ukcjBJnU=";
2016-09-05 22:16:45 +00:00
};
2020-03-20 08:31:25 +00:00
# Do not build static libraries
cmakeFlags = [ "-DENABLE_STATIC=NO" "-DENABLE_STRICT=NO" ];
2019-12-26 16:29:16 +00:00
2022-04-25 08:53:56 +00:00
strictDeps = true;
meta = with lib; {
description = "Utilities library for Linphone";
2020-03-20 08:31:25 +00:00
homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
license = licenses.gpl3Plus;
2020-03-20 08:31:25 +00:00
maintainers = with maintainers; [ raskin jluttine ];
platforms = platforms.linux;
2016-09-05 22:16:45 +00:00
};
}