From d69ea2af020190c1eaa49fd741681f40da2b1bed Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 11 Oct 2024 08:56:21 +0300 Subject: [PATCH] Move the package file to root of the repo --- .channel | 4 +--- build-repo | 2 +- packages/snow-fort.scm => snow-fort.scm | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) rename packages/snow-fort.scm => snow-fort.scm (99%) diff --git a/.channel b/.channel index c57e4d2..da458f8 100644 --- a/.channel +++ b/.channel @@ -1,3 +1 @@ -(channel - (version 0) - (directory "packages")) +(channel (version 0)) diff --git a/build-repo b/build-repo index 7f7d16e..9985f93 100755 --- a/build-repo +++ b/build-repo @@ -15,7 +15,7 @@ (if (not (file-exists? "repo.scm")) (error "No repo.scm found")) (define repository (with-input-from-file "repo.scm" (lambda () (read)))) (define base-url "https://snow-fort.org") -(define module-file-path "packages/snow-fort.scm") +(define module-file-path "snow-fort.scm") (when (file-exists? module-file-path) (delete-file module-file-path)) (define module-file (open-output-file module-file-path)) diff --git a/packages/snow-fort.scm b/snow-fort.scm similarity index 99% rename from packages/snow-fort.scm rename to snow-fort.scm index 54ea026..adf5efe 100644 --- a/packages/snow-fort.scm +++ b/snow-fort.scm @@ -1,4 +1,4 @@ -(define-module (packages snow-fort) #:use-module (guix licenses) #:use-module ((guix packages) #:select (package origin base32)) #:use-module (guix build-system copy) #:use-module ((guix download) #:select (url-fetch))) +(define-module (snow-fort) #:use-module (guix licenses) #:use-module ((guix packages) #:select (package origin base32)) #:use-module (guix build-system copy) #:use-module ((guix download) #:select (url-fetch))) (define-public snow-chibi-math-linalg (package (name "snow-chibi-math-linalg") (version "0.3") (source (origin (method url-fetch) (uri "https://snow-fort.org/s/gmail.com/alexshinn/chibi/math/linalg/0.3/chibi-math-linalg-0.3.tgz") (sha256 (base32 "1c4li62xpcl7jd9kanc4nd2d2jnwh0ji1wxdlzrnb136s2c3hy2m")))) (build-system copy-build-system) (arguments (list #:install-plan ''(("chibi/" "share/snow/chibi/")))) (synopsis "") (description "") (home-page "") (license (non-copyleft "")) (propagated-inputs (list snow-chibi-assert snow-chibi-optional))))