diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/belr')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/belr/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/belr/default.nix b/nixpkgs/pkgs/development/libraries/belr/default.nix new file mode 100644 index 000000000000..13d20d36bd5c --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/belr/default.nix @@ -0,0 +1,34 @@ +{ bctoolbox +, cmake +, fetchFromGitLab +, lib +, stdenv +}: + +stdenv.mkDerivation rec { + pname = "belr"; + version = "5.1.55"; + + src = fetchFromGitLab { + domain = "gitlab.linphone.org"; + owner = "public"; + group = "BC"; + repo = pname; + rev = version; + sha256 = "sha256-0JDwNKqPkzbXqDhgMV+okPMHPFJwmLwLsDrdD55Jcs4="; + }; + + buildInputs = [ bctoolbox ]; + nativeBuildInputs = [ cmake ]; + + # Do not build static libraries + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; + + meta = with lib; { + description = "Belledonne Communications' language recognition library. Part of the Linphone project."; + homepage = "https://gitlab.linphone.org/BC/public/belr"; + license = licenses.gpl3Plus; + platforms = platforms.all; + maintainers = with maintainers; [ jluttine ]; + }; +} |