belcard: 1.0.2 -> 4.3.1

+21 -11
+21 -11
pkgs/development/libraries/belcard/default.nix
··· 1 - { stdenv, cmake, fetchFromGitHub, bctoolbox, belr }: 2 3 stdenv.mkDerivation rec { 4 - baseName = "belcard"; 5 - version = "1.0.2"; 6 - name = "${baseName}-${version}"; 7 8 - src = fetchFromGitHub { 9 - owner = "BelledonneCommunications"; 10 - repo = baseName; 11 rev = version; 12 - sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk"; 13 }; 14 15 buildInputs = [ bctoolbox belr ]; 16 nativeBuildInputs = [ cmake ]; 17 18 - meta = with stdenv.lib;{ 19 - description = "Belcard is a C++ library to manipulate VCard standard format"; 20 - homepage = https://github.com/BelledonneCommunications/belcard; 21 license = licenses.lgpl21; 22 platforms = platforms.all; 23 }; 24 }
··· 1 + { bctoolbox 2 + , belr 3 + , cmake 4 + , fetchFromGitLab 5 + , stdenv 6 + }: 7 8 stdenv.mkDerivation rec { 9 + pname = "belcard"; 10 + version = "4.3.1"; 11 12 + src = fetchFromGitLab { 13 + domain = "gitlab.linphone.org"; 14 + owner = "public"; 15 + group = "BC"; 16 + repo = pname; 17 rev = version; 18 + sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw"; 19 }; 20 21 buildInputs = [ bctoolbox belr ]; 22 nativeBuildInputs = [ cmake ]; 23 24 + # Do not build static libraries 25 + cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 26 + 27 + meta = with stdenv.lib; { 28 + description = "C++ library to manipulate VCard standard format"; 29 + homepage = "https://gitlab.linphone.org/BC/public/belcard"; 30 license = licenses.lgpl21; 31 platforms = platforms.all; 32 + maintainers = with maintainers; [ jluttine ]; 33 }; 34 }