Commit 4c233af4 authored by wyndon's avatar wyndon Committed by Rick van Schijndel
Browse files

lokinet: 0.9.9 -> 0.9.10

parent 6aa94133
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
, libuv
, nlohmann_json
, pkg-config
, spdlog
, sqlite
, systemd
, unbound
@@ -15,14 +16,14 @@

stdenv.mkDerivation rec {
  pname = "lokinet";
  version = "0.9.9";
  version = "0.9.10";

  src = fetchFromGitHub {
    owner = "oxen-io";
    repo = "lokinet";
    rev = "v${version}";
    fetchSubmodules = true;
    sha256 = "sha256-AaGsRg9S9Cng9emI/mN09QSOIRbE+x3916clWAwLnRs=";
    sha256 = "sha256-dLkIFp1yz5MgUDxYQHN4zv2mexEb4GfkxlTOZyECsew=";
  };

  nativeBuildInputs = [
@@ -35,6 +36,7 @@ stdenv.mkDerivation rec {
    libuv
    libsodium
    nlohmann_json
    spdlog
    sqlite
    systemd
    unbound
@@ -47,14 +49,6 @@ stdenv.mkDerivation rec {
    "-DWITH_SETCAP=OFF"
  ];

  # copy bootstrap files
  # see https://github.com/oxen-io/lokinet/issues/1765#issuecomment-938208774
  postInstall = ''
    mkdir -p $out/share/testnet
    cp $src/contrib/bootstrap/mainnet.signed $out/share/bootstrap.signed
    cp $src/contrib/bootstrap/testnet.signed $out/share/testnet/bootstrap.signed
  '';

  meta = with lib; {
    description = "Anonymous, decentralized and IP based overlay network for the internet";
    homepage = "https://lokinet.org/";