Loading pkgs/by-name/li/libtoxcore/package.nix +15 −13 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, cmake, libsodium, ncurses, Loading @@ -15,22 +15,23 @@ let buildToxAV = !stdenv.hostPlatform.isAarch32; in stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "libtoxcore"; version = "0.2.20"; version = "0.2.21"; src = # We need the prepared sources tarball. fetchurl { url = "https://github.com/TokTok/c-toxcore/releases/download/v${version}/c-toxcore-${version}.tar.gz"; hash = "sha256-qciaja6nRdU+XXjnqsuZx7R5LEQApaaccSOPRdYWT0w="; src = fetchFromGitHub { owner = "TokTok"; repo = "c-toxcore"; tag = "v${finalAttrs.version}"; hash = "sha256-0lWUKW09JvHa0QDX7v4n5B2ckQrKU9TDkjKegDLTIUw="; fetchSubmodules = true; }; cmakeFlags = [ "-DDHT_BOOTSTRAP=ON" "-DBOOTSTRAP_DAEMON=ON" (lib.cmakeBool "DHT_BOOTSTRAP" true) (lib.cmakeBool "BOOTSTRAP_DAEMON" true) ] ++ lib.optional buildToxAV "-DMUST_BUILD_TOXAV=ON"; ++ lib.optional buildToxAV (lib.cmakeBool "MUST_BUILD_TOXAV" true); buildInputs = [ libsodium Loading Loading @@ -64,7 +65,8 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ peterhoeg zatm8 ]; platforms = lib.platforms.all; }; } }) Loading
pkgs/by-name/li/libtoxcore/package.nix +15 −13 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, cmake, libsodium, ncurses, Loading @@ -15,22 +15,23 @@ let buildToxAV = !stdenv.hostPlatform.isAarch32; in stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "libtoxcore"; version = "0.2.20"; version = "0.2.21"; src = # We need the prepared sources tarball. fetchurl { url = "https://github.com/TokTok/c-toxcore/releases/download/v${version}/c-toxcore-${version}.tar.gz"; hash = "sha256-qciaja6nRdU+XXjnqsuZx7R5LEQApaaccSOPRdYWT0w="; src = fetchFromGitHub { owner = "TokTok"; repo = "c-toxcore"; tag = "v${finalAttrs.version}"; hash = "sha256-0lWUKW09JvHa0QDX7v4n5B2ckQrKU9TDkjKegDLTIUw="; fetchSubmodules = true; }; cmakeFlags = [ "-DDHT_BOOTSTRAP=ON" "-DBOOTSTRAP_DAEMON=ON" (lib.cmakeBool "DHT_BOOTSTRAP" true) (lib.cmakeBool "BOOTSTRAP_DAEMON" true) ] ++ lib.optional buildToxAV "-DMUST_BUILD_TOXAV=ON"; ++ lib.optional buildToxAV (lib.cmakeBool "MUST_BUILD_TOXAV" true); buildInputs = [ libsodium Loading Loading @@ -64,7 +65,8 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ peterhoeg zatm8 ]; platforms = lib.platforms.all; }; } })