Merge pull request #288956 from MatthewCroughan/mc/mycelium
mycelium: init at 0.4.2
This commit is contained in:
commit
6780926802
2 changed files with 2583 additions and 0 deletions
2544
pkgs/by-name/my/mycelium/Cargo.lock
generated
Normal file
2544
pkgs/by-name/my/mycelium/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
39
pkgs/by-name/my/mycelium/package.nix
Normal file
39
pkgs/by-name/my/mycelium/package.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mycelium";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "threefoldtech";
|
||||
repo = "mycelium";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VWrWg9UpBSug0cvY/zuzGFI6Y0CRFcrh1Cy4mbYtg9Q=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"tun-0.6.1" = "sha256-DelNPCOWvVSMS2BNGA2Gw/Mn9c7RdFNR21/jo1xf+xk=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "End-2-end encrypted IPv6 overlay network";
|
||||
homepage = "https://github.com/threefoldtech/mycelium";
|
||||
changelog = "https://github.com/threefoldtech/mycelium/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ matthewcroughan ];
|
||||
mainProgram = "mycelium";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue