summaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john@guixotic.coop>2025-11-30 20:58:48 -0500
committerJohn Kehayias <john@guixotic.coop>2025-12-16 16:56:55 -0500
commit74e902849934fbdfd63316e39e5d180d58dcc514 (patch)
tree25ab0bcba70988e29498a78188ac8fabe86c55ec /gnu/packages/rust-apps.scm
parent0c8b130c7255c1d5f6f6dfc464a8c606dea91936 (diff)
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
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm23
1 files changed, 23 insertions, 0 deletions
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")