From 1ab631d4c043e11e3a820ec929dd4bb14dcbac11 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 5 Dec 2020 14:10:32 +0100 Subject: gnu: Add castor. * gnu/packages/web.scm (castor): New variable. --- gnu/packages/web.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c7846bd38c..ecd04e5bd9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -30,7 +30,7 @@ ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018 Mădălin Ionel Patrașcu ;;; Copyright © 2018 Alex Vong -;;; Copyright © 2019 Nicolas Goaziou +;;; Copyright © 2019, 2020 Nicolas Goaziou ;;; Copyright © 2019 Brendan Tildesley ;;; Copyright © 2019 Alex Griffin ;;; Copyright © 2019 Hartmut Goebel @@ -93,6 +93,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-gtk) #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) @@ -6491,6 +6492,48 @@ file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.") (license license:gpl2))) +(define-public castor + (package + (name "castor") + (version "0.8.16") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~julienxx/castor") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-parser" ,rust-ansi-parser-0.6) + ("rust-dirs" ,rust-dirs-2.0) + ("rust-gdk" ,rust-gdk-0.13) + ("rust-gtk" ,rust-gtk-0.8) + ("rust-linkify" ,rust-linkify-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-open" ,rust-open-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-url" ,rust-url-2)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gtk+" ,gtk+) + ("libressl" ,libressl) + ("pango" ,pango))) + (home-page "https://git.sr.ht/~julienxx/castor") + (synopsis "Graphical client for plain-text protocols") + (description + "Castor is a graphical client for plain-text protocols written in +Rust with GTK. It currently supports the Gemini, Gopher and Finger +protocols.") + (license license:expat))) + (define-public python-py-ubjson (package (name "python-py-ubjson") -- cgit v1.2.3