guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51967] [PATCH] package: calendar: Add gsimplecal to Guix


From: Jaft
Subject: [bug#51967] [PATCH] package: calendar: Add gsimplecal to Guix
Date: Fri, 19 Nov 2021 08:48:03 +0000 (UTC)

Hello; this is my first patch so, if I've missed or forgotten anything, just let me know and I'm happy to get it fixed.

As per the subject, this patch merely adds gsimplecal as a package; calendar seemed like the most sensible category to slot it under as it's, in fact, a calendar, I figured.

Thanks!



* gnu/packages/calendar.scm (gsimplecal): Add gsimplecal to Guix for the first time, sourced from git.
---
gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 8ec36d4fa2..4c54ac0549 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Brendan Tildesley <mail@brendan.scot>
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu@riseup.net>
+;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages check)
   #:use-module (gnu packages dav)
@@ -405,3 +407,31 @@ (define-public ccal
     ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
     ;; 'Lesser GPL version 2 or later'.
     (license (list license:gpl2+ license:lgpl2.1+))))
+
+(define-public gsimplecal
+  (let ([commit   "f00b80d86300397b52c3cf7d8dfc8de5cdee921d"]
+        [revision                                        "1"])
+    (package
+      (name          "gsimplecal")
+      (version       (git-version "2.2" revision commit))
+      (source        (origin
+                       (method    git-fetch)
+                       (uri       (git-reference
+                                   (url    "https://github.com/dmedvinsky/gsimplecal/")
+                                   (commit                                      commit)))
+                       (file-name (git-file-name name version))
+                       (sha256    (base32 (string-append/shared
+                                           "1qyf65l088dqsz25hm6s1cv18j"
+                                           "52yaias0llqvpqwjfnvssa5cxg")))
+                       (modules   '((guix build utils)))))
+      (build-system  gnu-build-system)
+      (native-inputs `(("autoconf"     ,autoconf)
+                       ("automake"     ,automake)
+                       ("pkg-config" ,pkg-config)
+                       ("gtk+"             ,gtk+)))
+      (home-page     "https://dmedvinsky.github.io/gsimplecal/")
+      (synopsis      "Lightweight calendar applet written in C++ using GTK")
+      (description   "Gsimplecal was intentionally made for use with tint2 panel
+in the openbox environment to be launched upon clock click but, of course, it
+will work without it.")
+      (license       license:bsd-3))))

Attachment: gsimplecal.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]