From df48241d3b4be19110dad216c34b67b9aa0a2c9f Mon Sep 17 00:00:00 2001
From: paladhammika <paladhammika@protonmail.com>
Date: Mon, 3 Jan 2022 19:26:02 -0500
Subject: [PATCH] gnu: Add yadm.
---
gnu/packages/configuration-management.scm | 31 +++++++++++++++++++++++
1 file changed, 31 insertions(+)
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +20,7 @@
(define-module (gnu packages configuration-management)
#:use-module (gnu packages)
#:use-module (guix build-system go)
+ #:use-module (guix build-system gnu)
#:use-module (guix git-download)
#:use-module (gnu packages golang)
#:use-module (gnu packages version-control)
@@ -103,3 +105,32 @@ (define-public chezmoi
(description "This package helps to manage personal configuration files
across multiple machines.")
(license license:expat)))
+
+(define-public yadm
+ (package
+ (name "yadm")
+ (version "3.1.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TheLocehiliosan/yadm")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1s80l405w001var72pw5k3d88dqlm52njghdh6s3m344b839223f"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f
+ #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'bootstrap)
+ (delete 'configure)
+ (delete 'build))))
+ (synopsis "Yet Another Dotfiles Manager")
+ (description
+ "yadm is like having a version of Git, that only operates on your dotfiles.
+If you know how to use Git, you already know how to use yadm.")
+ (home-page "https://yadm.io/")
+ (license license:gpl3+)))
--
2.34.0