about summary refs log tree commit diff
path: root/manifest.scm
diff options
context:
space:
mode:
authorArun Isaac2022-03-09 15:42:31 +0530
committerArun Isaac2022-03-09 16:39:31 +0530
commite44e41393f7c48b4605f769de4694578339ec188 (patch)
tree0614259b09529d18f64b0a4f860b7da3cfdd061c /manifest.scm
parentd78b6dea8495b5d117b0da987a3d28d2f197f328 (diff)
downloadgn-transform-databases-e44e41393f7c48b4605f769de4694578339ec188.tar.gz
Rename guix.scm to manifest.scm.
We only have a manifest, not a package definition. So, rename it as
such, making `guix shell' invocations briefer.

* guix.scm: Rename to manifest.scm. In documentation comments, make
`guix shell' implicitly pick up the manifest file.
* README.org (Using): Make `guix shell' implicitly pick up the
manifest file.
Diffstat (limited to 'manifest.scm')
-rw-r--r--manifest.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/manifest.scm b/manifest.scm
new file mode 100644
index 0000000..efcdcae
--- /dev/null
+++ b/manifest.scm
@@ -0,0 +1,40 @@
+;; Drop into a development environment using
+;;
+;; guix shell
+;;
+;; Happy hacking!
+
+(use-modules (gnu packages autotools)
+             ((gnu packages bioinformatics) #:prefix guix:)
+             (gnu packages graphviz)
+             (gnu packages guile)
+             (gnu packages guile-xyz)
+             (guix git-download)
+             (guix packages))
+
+(define ccwl
+  (let ((commit "51c12b7e58685b70e7cfd9612dac403cf9ee845c"))
+    (package
+      (inherit guix:ccwl)
+      (name "ccwl")
+      (version (git-version (package-version guix:ccwl) "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/arunisaac/ccwl")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0r86bjph11y77iskcns494xcn526lbyrhfs3sfpnqv8gc0pbgnzj"))))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ,@(package-native-inputs guix:ccwl))))))
+
+(packages->manifest
+ (list guile-3.0 guile-dbi guile-dbd-mysql
+       ;; We abuse (ccwl graphviz) as a library to visualize the database
+       ;; schema. Hence we need ccwl and guile-libyaml.
+       ccwl graphviz guile-libyaml guile-sparql))