guix-patches
[Top][All Lists]
Advanced

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

[bug#71764] [PATCH v2] gnu: Add got.


From: ashish . is
Subject: [bug#71764] [PATCH v2] gnu: Add got.
Date: Tue, 25 Jun 2024 01:27:38 +0200

From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (got): New variable.

Change-Id: Id5688af713352a2e9ff52085ffe1facb3fed5771
---
 gnu/packages/version-control.scm | 37 ++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index da02d0e4ea..8be76eafa0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2023 Steve George <steve@futurile.net>
 ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
 ;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
   #:use-module (gnu packages cook)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-vcs)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
   #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages libbsd)
+  #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
@@ -830,6 +834,39 @@ (define-public git-cal
 to GitHub contributions calendar.")
     (license license:expat)))
 
+(define-public got
+  (package
+   (name "got")
+   (version "0.100")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append 
"https://gameoftrees.org/releases/portable/got-portable-";
+                                version ".tar.gz"))
+            (sha256
+             (base32
+              "04jhaqzskr26akmy963yc8gaw1pqbsxhgsxzd0yrssgzcwh8lfpw"))))
+   (inputs
+    `(("libevent" ,libevent)
+      ("libuuid" ,util-linux "lib")
+      ("zlib" ,zlib)
+      ("libressl" ,libressl)
+      ("libmd" ,libmd)
+      ("libbsd" ,libbsd)
+      ("ncurses" ,ncurses)))
+   (native-inputs
+    (list pkg-config))
+   (arguments
+     ;; disable runpath validation, courtesy: libbsd's special
+     ;; treatment of libmd
+     (list #:validate-runpath? #f))
+   (build-system gnu-build-system)
+   (synopsis "Distributed version control system")
+   (description
+     "Game of Trees (Got) is a version control system which prioritizes ease 
of use
+and simplicity over flexibility.")
+    (license license:bsd-3)
+    (home-page "https://gameoftrees.org/";)))
+
 (define-public xdiff
   (let ((revision "0")
         (commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 78d946b01162fbe986c6768800e8cfd6e70e67e5
-- 
2.45.2






reply via email to

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