aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-12-20 09:46:30 +0000
committerArun Isaac2023-12-20 09:46:30 +0000
commite5301a15167b0ee1baa79bb7447e003e456a7d5d (patch)
tree70ee484f47f11091f77ee652bde0f1f09cd94398
parentc2904874bae1177eb2a7b50c37c090b56e7165fb (diff)
downloadgn-transform-databases-e5301a15167b0ee1baa79bb7447e003e456a7d5d.tar.gz
Set up as Guix channel for CI.
* .guix-channel, .guix/gn-transform-databases-package.scm, guix.scm: New files.
-rw-r--r--.guix-channel3
-rw-r--r--.guix/gn-transform-databases-package.scm34
l---------guix.scm1
3 files changed, 38 insertions, 0 deletions
diff --git a/.guix-channel b/.guix-channel
new file mode 100644
index 0000000..35e181f
--- /dev/null
+++ b/.guix-channel
@@ -0,0 +1,3 @@
+(channel
+ (version 0)
+ (directory ".guix"))
diff --git a/.guix/gn-transform-databases-package.scm b/.guix/gn-transform-databases-package.scm
new file mode 100644
index 0000000..e679854
--- /dev/null
+++ b/.guix/gn-transform-databases-package.scm
@@ -0,0 +1,34 @@
+(define-module (gn-transform-databases-package)
+ #:use-module ((gnu packages guile) #:select (guile-3.0))
+ #:use-module ((gnu packages guile-xyz) #:select (guile-dbi))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module (guix packages)
+ #:use-module (guix utils))
+
+(define-public gn-transform-databases
+ (package
+ (name "gn-transform-databases")
+ (version "0.1.0")
+ (source (local-file ".."
+ "gn-transform-databases-checkout"
+ #:recursive? #t
+ #:select? (or (git-predicate (dirname (current-source-directory)))
+ (const #t))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'install))))
+ (native-inputs
+ (list guile-3.0))
+ (propagated-inputs
+ (list guile-dbi))
+ (home-page #f)
+ (synopsis #f)
+ (description #f)
+ (license #f)))
+
+gn-transform-databases
diff --git a/guix.scm b/guix.scm
new file mode 120000
index 0000000..bbf46a0
--- /dev/null
+++ b/guix.scm
@@ -0,0 +1 @@
+.guix/gn-transform-databases-package.scm \ No newline at end of file