Unverified Commit 86349788 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

emissary: init at 0.3.0 (#479114)

parents c7db8cf8 acf5bf6b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -18201,6 +18201,14 @@
    githubId = 254145391;
    name = "n3tshift";
  };
  N4CH723HR3R = {
    email = "n4ch7@n3831.net";
    github = "N4CH723HR3R";
    githubId = 221765713;
    keys = [ { fingerprint = "C5A6 76E5 DFDD 076B 9B59  ABEC D783 89DC 24B6 4620"; } ];
    matrix = "@n4ch7:n3831.net";
    name = "N4CH723HR3R";
  };
  n8henrie = {
    name = "Nathan Henrie";
    email = "nate@n8henrie.com";
+40 −0
Original line number Diff line number Diff line
{
  rustPlatform,
  fetchFromGitHub,
  lib,
  pkg-config,
  openssl,
  fontconfig,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "emissary";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "altonen";
    repo = "emissary";
    tag = "v${finalAttrs.version}";
    hash = "sha256-A3Kkod2oQdprswoEY9Z6A5r2PsHMUEwqyDB8ycSEUqQ=";
  };
  cargoHash = "sha256-alruzRWeLGwfiX/kj7grC7+fgu6i0/T/EJwrF/0VDtw=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
    fontconfig
  ];

  __darwinAllowLocalNetworking = true;

  meta = {
    changelog = "https://github.com/altonen/emissary/releases/tag/${finalAttrs.version}";
    description = "Rust implementation of the I2P protocol stack";
    homepage = "https://altonen.github.io/emissary/";
    license = lib.licenses.mit; # https://github.com/altonen/emissary/blob/master/LICENSE (found an apache2 as well but thats for https://github.com/altonen/emissary/commit/c4a1c849ebfceba892adce53f512f1f099721de2)
    mainProgram = "emissary";
    maintainers = [ lib.maintainers.N4CH723HR3R ];
  };
})