summaryrefslogtreecommitdiff
path: root/px/packages/log.scm
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
committerFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
commit47b4c9c854915df93893dbaa993accfacf9027fe (patch)
tree4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/log.scm
parent0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff)
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/log.scm')
-rw-r--r--px/packages/log.scm96
1 files changed, 48 insertions, 48 deletions
diff --git a/px/packages/log.scm b/px/packages/log.scm
index 67719d3..abf1fd5 100644
--- a/px/packages/log.scm
+++ b/px/packages/log.scm
@@ -1,5 +1,6 @@
(define-module (px packages log)
- #:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((guix licenses)
+ #:prefix license:)
#:use-module (guix build-system cargo)
#:use-module (guix download)
#:use-module (guix packages)
@@ -10,56 +11,55 @@
#:use-module (gnu packages tls)
#:use-module (px packages crates-io))
-
(define-public remote_syslog2
(package
- (name "remote_syslog2")
- (version "0.20")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/papertrail/remote_syslog2/archive/refs/tags/v" version ".tar.gz"))
- (sha256
- (base32
- "09mrg6kxxrghhqg3ci8ryad9qixrdifiynffcxn01pgb0hkf3lg8"))))
- (build-system go-build-system)
- (arguments
- '(#:tests? #f
- #:import-path "github.com/papertrail/remote_syslog2"))
- (home-page "https://www.papertrailapps.com/")
- (synopsis "Remote_syslog tails")
- (description "Remote_syslog tails one or more log files and sends syslog messages to a remote central syslog server.
+ (name "remote_syslog2")
+ (version "0.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/papertrail/remote_syslog2/archive/refs/tags/v"
+ version ".tar.gz"))
+ (sha256
+ (base32 "09mrg6kxxrghhqg3ci8ryad9qixrdifiynffcxn01pgb0hkf3lg8"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f
+ #:import-path "github.com/papertrail/remote_syslog2"))
+ (home-page "https://www.papertrailapps.com/")
+ (synopsis "Remote_syslog tails")
+ (description
+ "Remote_syslog tails one or more log files and sends syslog messages to a remote central syslog server.
It generates packets itself, ignoring the system syslog daemon, so its configuration doesn't affect system-wide logging.")
- (license license:expat)))
-
+ (license license:expat)))
(define-public loggily
(package
- (name "loggily")
- (version "0.0.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/"
- name "-" version ".crate"))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256 (base32 "1z0008ydim1x9z7gbn87zrng8ykyh0hpasvzfxyx4r48a6mw98ra"))))
- (build-system cargo-build-system)
- (arguments
- `(#:tests? #f
- #:cargo-inputs
- (("rust-chrono" ,rust-chrono-0.4)
- ("rust-clap" ,rust-clap-3)
- ("rust-openssl" ,rust-openssl-0.10)
- ("rust-postgres" ,rust-postgres-0.19)
- ("rust-regex" ,rust-regex-1)
- ("rust-xmlrpc" ,rust-xmlrpc-0.15)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-yaml" ,rust-serde-yaml-0.8))))
- (inputs (list openssl))
- (home-page "https://pantherx.org")
- (synopsis "A simple logging library for Rust")
- (description "A simple logging library for Rust")
- (license license:expat)))
+ (name "loggily")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "-" version
+ ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z0008ydim1x9z7gbn87zrng8ykyh0hpasvzfxyx4r48a6mw98ra"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-postgres" ,rust-postgres-0.19)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-xmlrpc" ,rust-xmlrpc-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8))))
+ (inputs (list openssl))
+ (home-page "https://pantherx.org")
+ (synopsis "A simple logging library for Rust")
+ (description "A simple logging library for Rust")
+ (license license:expat)))