]> infiniteadaptability.org Git - workouts/commitdiff
...
authoralex <[email protected]>
Thu, 23 Mar 2023 20:40:37 +0000 (13:40 -0700)
committeralex <[email protected]>
Thu, 23 Mar 2023 20:40:37 +0000 (13:40 -0700)
workouts.scm [new file with mode: 0644]

diff --git a/workouts.scm b/workouts.scm
new file mode 100644 (file)
index 0000000..1893620
--- /dev/null
@@ -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