mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #236398 from cameronfyfe/iroh
This commit is contained in:
commit
ec322bf9e5
37
pkgs/applications/networking/iroh/default.nix
Normal file
37
pkgs/applications/networking/iroh/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "iroh";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n0-computer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "bNuTEsbOx7ERH/TigLKVOV6eUF+5C2w3PDH9KkfajBo=";
|
||||
};
|
||||
|
||||
cargoSha256 = "WgpX8hz19mnmDmqErSuNDUiFUpr7/K46g4ylhvDIqVw=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks; [
|
||||
Security
|
||||
SystemConfiguration
|
||||
]
|
||||
);
|
||||
|
||||
# Some tests require network access which is not available in nix build sandbox.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Efficient IPFS for the whole world right now";
|
||||
homepage = "https://iroh.computer";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ cameronfyfe ];
|
||||
};
|
||||
}
|
@ -9038,6 +9038,8 @@ with pkgs;
|
||||
|
||||
irker = callPackage ../servers/irker { };
|
||||
|
||||
iroh = callPackage ../applications/networking/iroh { };
|
||||
|
||||
ised = callPackage ../tools/misc/ised { };
|
||||
|
||||
isl = isl_0_20;
|
||||
|
Loading…
Reference in New Issue
Block a user