netns-proxy: init at 0.2.1 (#418402)

authored by Aleksana and committed by GitHub 3fa1832f 18048ea6

+32
+32
pkgs/by-name/ne/netns-proxy/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + 8 + rustPlatform.buildRustPackage (finalAttrs: { 9 + pname = "netns-proxy"; 10 + version = "0.2.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "fooker"; 14 + repo = "netns-proxy"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-sTOhoiBCKognc5SIj9SVfhyjnuatHbIRNtQ73SxWX+Q="; 17 + }; 18 + 19 + useFetchCargoVendor = true; 20 + cargoHash = "sha256-rf4cazRrHxHdT4U58sJtAHU2pfZ5+oAerSVdEt9/bGA="; 21 + 22 + passthru.updateScript = nix-update-script { }; 23 + 24 + meta = { 25 + description = "Simple and slim proxy to forward ports from and into linux network namespaces"; 26 + homepage = "https://github.com/fooker/netns-proxy"; 27 + license = lib.licenses.mit; 28 + platforms = lib.platforms.linux; 29 + mainProgram = "netns-proxy"; 30 + maintainers = with lib.maintainers; [ fooker ]; 31 + }; 32 + })