Files
nixpkgs/pkgs/development/python-modules/ipv8-rust-tunnels/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
848 B
Nix

{
lib,
rustPlatform,
fetchPypi,
buildPythonPackage,
}:
buildPythonPackage rec {
pname = "ipv8-rust-tunnels";
version = "0.1.44";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "ipv8_rust_tunnels";
hash = "sha256-eHk8aCrcnyVGd3JRGQ950Bwryqt+TYx84MHAM2kWTis=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-axWG5cJtNaoZl7cG+Zyo1k+eA8pXHDWFgHqpTmQNHlo=";
};
nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
];
meta = {
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 = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ mlaradji ];
};
}