From: alex Date: Thu, 23 Mar 2023 20:40:37 +0000 (-0700) Subject: ... X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=98102017939afc851dc9204a29d4ae2a165f2d97;p=workouts ... --- diff --git a/workouts.scm b/workouts.scm new file mode 100644 index 0000000..1893620 --- /dev/null +++ b/workouts.scm @@ -0,0 +1,41 @@ +(define-module (infiniteadaptability packages workouts) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gcc) + #:use-module (gnu packages sqlite) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public workouts + (let ((version "1.1.0") + (commit "8a8d7c9f2666ce077adb42d8809df2f24d0836d5") + (revision 0)) + (package + (name "workouts") + (version (if (zero? revision) version + (string-append version "-" + (number->string revision) "." + (string-take commit 7)))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.infiniteadaptability.org/workouts.git") + (commit commit))) + (sha256 + (base32 + "1mr4cghc55lzcfphxyk26w8laj3gardsn2j02bj06qdc4kzf2jv7")) + (file-name (string-append "workouts-" version "-checkout")))) + (build-system gnu-build-system) + (arguments + (list #:parallel-tests? #f)) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gcc" ,gcc))) + (inputs `(("sqlite" ,sqlite))) + (home-page "https://git.infiniteadaptability.org/workouts") + (synopsis "utility for managing workouts") + (description "command-line utility for managing workouts.") + (license unlicense)))) + +workouts