Files
nixpkgs/pkgs/development/python-modules/ipv8-rust-tunnels/default.nix

36 lines
850 B
Nix

{
lib,
rustPlatform,
fetchPypi,
buildPythonPackage,
}:
buildPythonPackage rec {
pname = "ipv8-rust-tunnels";
version = "0.1.34";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "ipv8_rust_tunnels";
hash = "sha256-YXIfAXwcbWGq/CSMrTslpbkmj8AryzsinWK8kAWF90k=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-C2LLiEpD0Gk39XSuwqQJ/l2olFL2HSktdZCJp5WG0pk=";
};
nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
];
meta = with lib; {
description = "A set of performance enhancements to the TunnelCommunity, the anonymization layer used in IPv8 and Tribler";
homepage = "https://github.com/Tribler/ipv8-rust-tunnels";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ mlaradji ];
};
}