diff options
author | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2020-03-20 16:59:59 +0200 |
---|---|---|
committer | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2020-03-28 11:25:30 +0200 |
commit | 187ae7c30e1cc67160104ffbe3cf5be6fc2b2a08 (patch) | |
tree | cc0c3b35730847de8ad6ddc09ca3282c21ad02ad /pkgs/development/libraries/belcard | |
parent | dcf2f1186aa78e2381ac70cc89f1d490577c9f6c (diff) |
belcard: 1.0.2 -> 4.3.1
Diffstat (limited to 'pkgs/development/libraries/belcard')
-rw-r--r-- | pkgs/development/libraries/belcard/default.nix | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/pkgs/development/libraries/belcard/default.nix b/pkgs/development/libraries/belcard/default.nix index aa6cb8513ae4c..11de04889159b 100644 --- a/pkgs/development/libraries/belcard/default.nix +++ b/pkgs/development/libraries/belcard/default.nix @@ -1,24 +1,34 @@ -{ stdenv, cmake, fetchFromGitHub, bctoolbox, belr }: +{ bctoolbox +, belr +, cmake +, fetchFromGitLab +, stdenv +}: stdenv.mkDerivation rec { - baseName = "belcard"; - version = "1.0.2"; - name = "${baseName}-${version}"; + pname = "belcard"; + version = "4.3.1"; - src = fetchFromGitHub { - owner = "BelledonneCommunications"; - repo = baseName; + src = fetchFromGitLab { + domain = "gitlab.linphone.org"; + owner = "public"; + group = "BC"; + repo = pname; rev = version; - sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk"; + sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw"; }; buildInputs = [ bctoolbox belr ]; nativeBuildInputs = [ cmake ]; - meta = with stdenv.lib;{ - description = "Belcard is a C++ library to manipulate VCard standard format"; - homepage = https://github.com/BelledonneCommunications/belcard; + # Do not build static libraries + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; + + meta = with stdenv.lib; { + description = "C++ library to manipulate VCard standard format"; + homepage = "https://gitlab.linphone.org/BC/public/belcard"; license = licenses.lgpl21; platforms = platforms.all; + maintainers = with maintainers; [ jluttine ]; }; } |