summaryrefslogtreecommitdiff
path: root/px/packages/library.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/library.scm
parent0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff)
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/library.scm')
-rw-r--r--px/packages/library.scm152
1 files changed, 77 insertions, 75 deletions
diff --git a/px/packages/library.scm b/px/packages/library.scm
index 5cc08be..6243d30 100644
--- a/px/packages/library.scm
+++ b/px/packages/library.scm
@@ -1,5 +1,5 @@
;;; Library Packages Module for PantherX
-;;; Author: Hamzeh Nasajpour (h.nasajpour@pantherx.org)
+;;; Hamzeh Nasajpour (h.nasajpour@pantherx.org)
;;;
(define-module (px packages library)
@@ -21,20 +21,24 @@
#:use-module (gnu packages web)
#:use-module (px packages common)
#:use-module (px packages python-xyz)
- #:use-module ((guix licenses) #:prefix license:))
+ #:use-module ((guix licenses)
+ #:prefix license:))
(define-public px-auth-library-cpp
(package
(name "px-auth-library-cpp")
(version "0.0.28")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/" name "_" version ".tgz"))
- (sha256 (base32 "1q4ll8zdg7hrj0r1spdspp3zl40n69473qjib8c87a69yrr0j0id"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_" version
+ ".tgz"))
+ (sha256
+ (base32 "1q4ll8zdg7hrj0r1spdspp3zl40n69473qjib8c87a69yrr0j0id"))))
(build-system qt-build-system)
- (arguments (list #:tests? #f))
+ (arguments
+ (list
+ #:tests? #f))
(inputs (list qtbase-5))
(home-page "https://www.pantherx.org/")
(synopsis "PantherX GUI Library")
@@ -46,16 +50,16 @@
(name "px-gui-library")
(version "0.1.9")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/" name "_v" version ".tgz"))
- (sha256 (base32 "0205bbj1kz0fpgy93xyq2nvzwh3knvrj89akbwidsgik8dn5w3if"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_v" version
+ ".tgz"))
+ (sha256
+ (base32 "0205bbj1kz0fpgy93xyq2nvzwh3knvrj89akbwidsgik8dn5w3if"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f))
- (native-inputs
- (list qtbase-5 qttools-5))
+ (native-inputs (list qtbase-5 qttools-5))
(home-page "https://www.pantherx.org/")
(synopsis "PantherX GUI Library")
(description "GUI Framework for PantherX applications as shared library")
@@ -66,29 +70,29 @@
(name "px-claws-mail-parser")
(version "0.2.3")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/" name "_v" version ".tgz"))
- (sha256 (base32 "0pn74mgbbz4v15dw9bmyb8lcxzknmwqnfy73m6b3vr70n52a528b"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_v" version
+ ".tgz"))
+ (sha256
+ (base32 "0pn74mgbbz4v15dw9bmyb8lcxzknmwqnfy73m6b3vr70n52a528b"))))
(build-system python-build-system)
(arguments
`(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (delete 'sanity-check))))
- (inputs
- `(("python-pandas" ,python-pandas)
- ("python-pylint" ,python-pylint-2.5.3)
- ("python-toml" ,python-toml)
- ("python-lazy-object-proxy-1.4.0" ,python-lazy-object-proxy-1.4.0)
- ("python-ipaddress" ,python-ipaddress)
- ("python-wrapt" ,python-wrapt-1.12.1)))
- (propagated-inputs
- `(("python-simplejson" ,python-simplejson-3.17.0)
- ("python-mail-parser" ,python-mail-parser-3.14.0)))
+ #:phases (modify-phases %standard-phases
+ (delete 'sanity-check))))
+ (inputs `(("python-pandas" ,python-pandas)
+ ("python-pylint" ,python-pylint-2.5.3)
+ ("python-toml" ,python-toml)
+ ("python-lazy-object-proxy-1.4.0" ,python-lazy-object-proxy-1.4.0)
+ ("python-ipaddress" ,python-ipaddress)
+ ("python-wrapt" ,python-wrapt-1.12.1)))
+ (propagated-inputs `(("python-simplejson" ,python-simplejson-3.17.0)
+ ("python-mail-parser" ,python-mail-parser-3.14.0)))
(home-page "https://www.pantherx.org/")
(synopsis "Easy access to various APIs with unified return format.")
- (description "This python library provides easy, uniform access to various API ressources,
+ (description
+ "This python library provides easy, uniform access to various API ressources,
returning a unified HubMessage array.")
(license license:expat)))
@@ -97,46 +101,45 @@ returning a unified HubMessage array.")
(name "px-secret-library-python")
(version "0.0.7")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/" name "_v" version ".tgz"))
- (sha256 (base32 "0iahzdbwps49bn9pnkiydp0gc8gry82bm8kjyj51mqjrnzr5pvsv"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_v" version
+ ".tgz"))
+ (sha256
+ (base32 "0iahzdbwps49bn9pnkiydp0gc8gry82bm8kjyj51mqjrnzr5pvsv"))))
(build-system python-build-system)
- (arguments `(#:tests? #f))
- (propagated-inputs
- `(("python-secretstorage" ,python-secretstorage)))
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs `(("python-secretstorage" ,python-secretstorage)))
(home-page "https://www.pantherx.org/")
(synopsis "Easy access to secret service")
- (description "This python library provides easy, uniform access to secret service.")
+ (description
+ "This python library provides easy, uniform access to secret service.")
(license license:expat)))
-
+
(define-public px-lib-rw-guix-config
(package
(name "px-lib-rw-guix-config")
(version "v0.0.8")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/px-lib-rw-guix-config_"
- version
- ".tgz"))
- (sha256
- (base32
- "1ij68sks9qphr12zpbp3skiqy2nw6jb4sazqmlcqlha7n953dql2"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://source.pantherx.org/px-lib-rw-guix-config_" version
+ ".tgz"))
+ (sha256
+ (base32 "1ij68sks9qphr12zpbp3skiqy2nw6jb4sazqmlcqlha7n953dql2"))))
(build-system cmake-build-system)
(arguments
- `(
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-source
- (lambda _
- (chdir "../")
- )))))
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-source
+ (lambda _
+ (chdir "../"))))))
(home-page "https://www.pantherx.org/")
(synopsis "PantherX config.scm parser/builder library")
- (description "This library provides a series of methods for add/remove/get users, service, ... in
+ (description
+ "This library provides a series of methods for add/remove/get users, service, ... in
config.scm")
(license license:expat)))
@@ -145,26 +148,25 @@ config.scm")
(name "px-online-sources-library")
(version "0.0.17")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/" name "_" version ".tgz"))
- (sha256 (base32 "0v5rj1gdq8gi42qpdq0lpgqydqiyx1zj3vfazkvb11mvp94ad3dd"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_" version
+ ".tgz"))
+ (sha256
+ (base32 "0v5rj1gdq8gi42qpdq0lpgqydqiyx1zj3vfazkvb11mvp94ad3dd"))))
(build-system python-build-system)
(arguments
`(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (delete 'sanity-check))))
- (inputs
- `(("python-idna" ,python-idna)))
- (propagated-inputs
- `(("python-etherscan" ,python-etherscan)
- ("python-requests" ,python-requests)
- ("python-block-io", python-block-io)))
+ #:phases (modify-phases %standard-phases
+ (delete 'sanity-check))))
+ (inputs `(("python-idna" ,python-idna)))
+ (propagated-inputs `(("python-etherscan" ,python-etherscan)
+ ("python-requests" ,python-requests)
+ ("python-block-io" ,python-block-io)))
(home-page "https://www.pantherx.org/")
(synopsis "Easy access to various APIs with unified return format.")
- (description "This python library provides easy, uniform access to various API ressources,
+ (description
+ "This python library provides easy, uniform access to various API ressources,
returning a unified HubMessage array.")
(license license:expat)))