From 74e902849934fbdfd63316e39e5d180d58dcc514 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sun, 30 Nov 2025 20:58:48 -0500 Subject: gnu: Add mitm-cache. * gnu/packages/rust-apps.scm (mitm-cache): New variable. * gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add mitm-cache. Change-Id: Ifc2d3a631940b69d1b5c8e9f5a2d9aa25551c265 --- gnu/packages/rust-apps.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/rust-apps.scm') diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 55d78bffa43..62b8e1fe62e 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1964,6 +1964,29 @@ specified image or color, easing the process of theme creation.") @code{cffi} bindings as well as rust binaries as python packages.") (license (list license:expat license:asl2.0)))) +(define-public mitm-cache + (package + (name "mitm-cache") + (version "0.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chayleaf/mitm-cache") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hbjzf3jb8gpisq3qi5z7wc20hawcgvjwnw2xp80bwq1cj12d3vr")))) + (build-system cargo-build-system) + (arguments + '(#:install-source? #f)) + (inputs (cons `(,zstd "lib") (cargo-inputs 'mitm-cache))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/chayleaf/mitm-cache") + (synopsis "Man-in-the-middle caching proxy") + (description "This is a caching @acronym{MITM, man-in-the-middle} proxy +for fetching the dependencies of poorly designed build systems.") + (license license:expat))) + (define-public mollysocket (package (name "mollysocket") -- cgit v1.3