This repository has no description
981 B
39 lines
1{ lib
2, rustPlatform
3, fetchFromGitHub
4, stdenv
5, darwin
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "mycelium";
10 version = "0.5.0";
11
12 src = fetchFromGitHub {
13 owner = "threefoldtech";
14 repo = "mycelium";
15 rev = "v${version}";
16 hash = "sha256-K82LHVXbSMIJQlQ/qUpdCBVlAEZWyMMG2eUt2FzNwRE=";
17 };
18
19 cargoLock = {
20 lockFile = ./Cargo.lock;
21 outputHashes = {
22 "tun-0.6.1" = "sha256-DelNPCOWvVSMS2BNGA2Gw/Mn9c7RdFNR21/jo1xf+xk=";
23 };
24 };
25
26 buildInputs = lib.optionals stdenv.isDarwin [
27 darwin.apple_sdk.frameworks.Security
28 darwin.apple_sdk.frameworks.SystemConfiguration
29 ];
30
31 meta = with lib; {
32 description = "End-2-end encrypted IPv6 overlay network";
33 homepage = "https://github.com/threefoldtech/mycelium";
34 changelog = "https://github.com/threefoldtech/mycelium/blob/${src.rev}/CHANGELOG.md";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ flokli matthewcroughan ];
37 mainProgram = "mycelium";
38 };
39}