From e44e41393f7c48b4605f769de4694578339ec188 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 9 Mar 2022 15:42:31 +0530 Subject: 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. --- README.org | 2 +- guix.scm | 40 ---------------------------------------- manifest.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 guix.scm create mode 100644 manifest.scm diff --git a/README.org b/README.org index 75b0e21..fbc5705 100644 --- a/README.org +++ b/README.org @@ -7,7 +7,7 @@ dump the relational database to plain text. Drop into a development environment with #+BEGIN_SRC shell - $ guix shell -m guix.scm + $ guix shell #+END_SRC Describe the database connection parameters in a file /conn.scm/ file diff --git a/guix.scm b/guix.scm deleted file mode 100644 index eedbb68..0000000 --- a/guix.scm +++ /dev/null @@ -1,40 +0,0 @@ -;; Drop into a development environment using -;; -;; guix shell -m guix.scm -;; -;; 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)) 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)) -- cgit v1.2.3