aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-09-17 01:25:52 +0200
committerMarius Bakke <marius@gnu.org>2021-09-17 01:25:52 +0200
commit5c3cb22c9b2810669999e044b2de5e9331011a83 (patch)
tree3276e19cc1a0af3cece6ce4f2bfa930901888bb4 /gnu/packages/rust-apps.scm
parentc896287ce5eff968a0b323f3a069653a64b96b4c (diff)
parent2a054d29dcfd4b68ed3914886b637f93ac7a0a72 (diff)
downloadguix-5c3cb22c9b2810669999e044b2de5e9331011a83.tar
guix-5c3cb22c9b2810669999e044b2de5e9331011a83.tar.gz
Merge branch 'master' into core-updates-frozen
Conflicts: gnu/packages/bioinformatics.scm gnu/packages/chez.scm gnu/packages/docbook.scm gnu/packages/ebook.scm gnu/packages/gnome.scm gnu/packages/linux.scm gnu/packages/networking.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/tex.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/dune.scm guix/build-system/go.scm guix/build-system/linux-module.scm guix/packages.scm
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm56
1 files changed, 56 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 89f781ed40..3225703e26 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -34,6 +34,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
@@ -42,6 +43,7 @@
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gtk)
#:use-module (gnu packages jemalloc)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages ssh)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
@@ -644,6 +646,60 @@ gitignore rules.")
(base32
"13jzbmjz1bmmfr0i80hw6ar484mgabx3hbpb2ynhk0ddqi0yr58m"))))))
+(define-public sniffglue
+ (package
+ (name "sniffglue")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sniffglue" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q1kwkw1hq38qgvc6j4b5l9m85a6lpn1jls4bm27c5kha9cg8l24"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-dhcp4r" ,rust-dhcp4r-0.2)
+ ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-dns-parser" ,rust-dns-parser-0.8)
+ ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.20)
+ ("rust-nom" ,rust-nom-6)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-pcap-sys" ,rust-pcap-sys-0.1)
+ ("rust-pktparse" ,rust-pktparse-0.5)
+ ("rust-reduce" ,rust-reduce-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-syscallz" ,rust-syscallz-0.15)
+ ("rust-tls-parser" ,rust-tls-parser-0.10)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-users" ,rust-users-0.11))
+ #:cargo-development-inputs
+ (("rust-boxxy" ,rust-boxxy-0.11))))
+ (inputs
+ `(("libpcap" ,libpcap)
+ ("libseccomp" ,libseccomp)))
+ (home-page "https://github.com/kpcyrd/sniffglue")
+ (synopsis "Secure multithreaded packet sniffer")
+ (description
+ "This package provides a network sniffer written in Rust. Packets
+are parsed concurrently using a thread pool to utilize all cpu cores. A goal
+of the project is to be runnable on untrusted networks without crashing.")
+ (license license:gpl3)))
+
(define-public tectonic
(package
(name "tectonic")