aboutsummaryrefslogtreecommitdiff
path: root/.guix
diff options
context:
space:
mode:
authorArun Isaac2023-07-08 20:38:10 +0100
committerArun Isaac2023-07-08 20:39:18 +0100
commit01ec2e0c15a9f7db2b6374e1469a90df30109300 (patch)
tree9dae282fb4a80eca9bb92d9f23ddfe2187de3272 /.guix
parent02677a508b407779f5991a230341e016deb7f69b (diff)
downloadccwl-01ec2e0c15a9f7db2b6374e1469a90df30109300.tar.gz
ccwl-01ec2e0c15a9f7db2b6374e1469a90df30109300.tar.lz
ccwl-01ec2e0c15a9f7db2b6374e1469a90df30109300.zip
Make repository a guix channel.
* .guix-authorizations, .guix-channel: New files. * guix.scm: Convert to a symlink pointing to .guix/ccwl-package.scm. Move original there. * .guix/ccwl-package.scm: Convert into a module with public packages.
Diffstat (limited to '.guix')
-rw-r--r--.guix/ccwl-package.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/.guix/ccwl-package.scm b/.guix/ccwl-package.scm
new file mode 100644
index 0000000..a7f31a6
--- /dev/null
+++ b/.guix/ccwl-package.scm
@@ -0,0 +1,35 @@
+;;; ccwl --- Concise Common Workflow Language
+;;; Copyright © 2021, 2023 Arun Isaac <arunisaac@systemreboot.net>
+;;;
+;;; This file is part of ccwl.
+;;;
+;;; ccwl is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; ccwl is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with ccwl. If not, see <https://www.gnu.org/licenses/>.
+
+(define-module (ccwl-package)
+ #:use-module ((gnu packages bioinformatics) #:prefix guix:)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module (guix packages)
+ #:use-module (guix utils))
+
+(define-public ccwl
+ (package
+ (inherit guix:ccwl)
+ (source (local-file ".."
+ "ccwl-checkout"
+ #:recursive? #t
+ #:select? (or (git-predicate (dirname (current-source-directory)))
+ (const #t))))))
+
+ccwl