From e5301a15167b0ee1baa79bb7447e003e456a7d5d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 20 Dec 2023 09:46:30 +0000 Subject: Set up as Guix channel for CI. * .guix-channel, .guix/gn-transform-databases-package.scm, guix.scm: New files. --- .guix-channel | 3 +++ .guix/gn-transform-databases-package.scm | 34 ++++++++++++++++++++++++++++++++ guix.scm | 1 + 3 files changed, 38 insertions(+) create mode 100644 .guix-channel create mode 100644 .guix/gn-transform-databases-package.scm create mode 120000 guix.scm 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 -- cgit v1.2.3