diff options
Diffstat (limited to 'px/packages/mastodon.scm')
-rw-r--r-- | px/packages/mastodon.scm | 76 |
1 files changed, 34 insertions, 42 deletions
diff --git a/px/packages/mastodon.scm b/px/packages/mastodon.scm index d53bb7a..1eb0e77 100644 --- a/px/packages/mastodon.scm +++ b/px/packages/mastodon.scm @@ -1,17 +1,15 @@ ;;; Mastodon Packages Module for PantherX -;;; Author: Fakhri Sajadi (f.sajadi@pantherx.org) -;;; +;;; Fakhri Sajadi (f.sajadi@pantherx.org) (define-module (px packages mastodon) - #:use-module ((guix licenses) #:prefix license:) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (guix utils) #:use-module (guix download) #:use-module (guix packages) + #:use-module (guix git-download) #:use-module (guix build-system cmake) - #:use-module (guix build-system trivial) - #:use-module (guix utils) #:use-module (gnu packages compression) - #:use-module (guix git-download) - #:use-module (px packages common) #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) #:use-module (gnu packages curl) @@ -20,6 +18,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages serialization) #:use-module (px packages common) + #:use-module (px packages common) #:use-module (px packages networking)) (define-public mastodonpp @@ -27,24 +26,22 @@ (name "mastodonpp") (version "0.5.7") (source - (origin - (method url-fetch) - (uri (string-append - "https://schlomp.space/tastytea/mastodonpp/archive/" version ".tar.gz")) - (sha256 - (base32 - "1vga22c85r86hidvfqysfj01d2y6w69m9rkmc1nsr8ffglcw83qy")))) + (origin + (method url-fetch) + (uri (string-append + "https://schlomp.space/tastytea/mastodonpp/archive/" version + ".tar.gz")) + (sha256 + (base32 "1vga22c85r86hidvfqysfj01d2y6w69m9rkmc1nsr8ffglcw83qy")))) (build-system cmake-build-system) (arguments - `( - #:tests? #f)) - (inputs `( - ("curl" ,curl))) - (native-inputs `( - ("pkg-config" ,pkg-config))) + `(#:tests? #f)) + (inputs `(("curl" ,curl))) + (native-inputs `(("pkg-config" ,pkg-config))) (home-page "https://schlomp.space/tastytea/mastodonpp") (synopsis "C++ library for working with Mastodon REST API") - (description "Mastodonpp is a C++ wrapper for the Mastodon API. + (description + "Mastodonpp is a C++ wrapper for the Mastodon API. You submit an API call and get the raw JSON that you can then transform into easy to use abstractions.") (license license:expat))) @@ -53,29 +50,24 @@ You submit an API call and get the raw JSON that you can then transform into eas (name "px-mastodon-service") (version "0.3.6") (source - (origin - (method url-fetch) - (uri (string-append - "https://source.pantherx.org/px-mastodon-service_v" version ".tgz")) - (sha256 - (base32 - "0v7qmimrxqk4d3c4x3f7lmxf976bb099xyrqn1wg6ypsm6myf04d")))) + (origin + (method url-fetch) + (uri (string-append "https://source.pantherx.org/px-mastodon-service_v" + version ".tgz")) + (sha256 + (base32 "0v7qmimrxqk4d3c4x3f7lmxf976bb099xyrqn1wg6ypsm6myf04d")))) (build-system cmake-build-system) (arguments - `( - #:tests? #f)) - (inputs `( - ("mastodonpp" ,mastodonpp) - ("rapidjson" ,rapidjson) - ("yaml-cpp", yaml-cpp) - ("openssl" ,openssl) - ("curl" ,curl) - ("nng" ,nng-1.5) - ("zlib", zlib) - ("capnproto", capnproto-0.9))) - (native-inputs `( - ("pkg-config" ,pkg-config) - )) + `(#:tests? #f)) + (inputs `(("mastodonpp" ,mastodonpp) + ("rapidjson" ,rapidjson) + ("yaml-cpp" ,yaml-cpp) + ("openssl" ,openssl) + ("curl" ,curl) + ("nng" ,nng-1.5) + ("zlib" ,zlib) + ("capnproto" ,capnproto-0.9))) + (native-inputs `(("pkg-config" ,pkg-config))) (home-page "https://www.pantherx.org/") (synopsis "PantherX Mastodon Management Service") (description "A Mastodon API.") |