diff mbox series

[bug#47507] gnu: add lagrange

Message ID 20210330225705.785070-1-krotov@iitp.ru
State Accepted
Headers show
Series [bug#47507] gnu: add lagrange | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Alexander Krotov March 30, 2021, 10:57 p.m. UTC
* gnu/packages/web-browsers.scm (lagrange): New variable.
---
 gnu/packages/web-browsers.scm | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Comments

Nicolas Goaziou April 11, 2021, 9:37 a.m. UTC | #1
Hello,

Alexander Krotov <krotov@iitp.ru> writes:

> * gnu/packages/web-browsers.scm (lagrange): New variable.

Thank you.

I bumped version to 1.3.1, added mpg123 as input, and pushed.

Regards,
diff mbox series

Patch

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 24bca093a6..8bb8e1b8a7 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -17,6 +17,7 @@ 
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
 ;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
 ;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
+;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -64,6 +65,7 @@ 
   #:use-module (gnu packages image)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
+  #:use-module (gnu packages libunistring)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp)
   #:use-module (gnu packages lisp-xyz)
@@ -72,12 +74,14 @@ 
   #:use-module (gnu packages markup)
   #:use-module (gnu packages nano)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages sdl)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages webkit)
@@ -869,3 +873,36 @@  http, and https via third-party applications.")
 interface.")
     (home-page "https://www.autistici.org/interzona/tinmop.html")
     (license license:gpl3+)))
+
+(define-public lagrange
+  (package
+    (name "lagrange")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://git.skyjake.fi/skyjake/lagrange/releases/"
+                              "download/v" version "/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ii5l5njyyls9py1ri80f84y56sdg9diw7r42f7qy3xzd3npkm52"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'check))))
+    (inputs
+     `(("openssl" ,openssl)
+       ("pcre" ,pcre)
+       ("libunistring" ,libunistring)
+       ("sdl2" ,sdl2)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://gmi.skyjake.fi/lagrange/")
+    (synopsis "Beautiful Gemini Client")
+    (description "Lagrange is a desktop GUI client for browsing
+Geminispace.  It offers modern conveniences familiar from web browsers, such as
+smooth scrolling, inline image viewing, multiple tabs, visual themes, Unicode
+fonts, bookmarks, history, and page outlines.")
+    (license license:bsd-2)))