From bfdd8f87ba603c0b1560e3fb4db7846af540b0ca Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Thu, 19 Dec 2019 09:05:19 +0100 Subject: Rename chibi --- chibi-scheme.scm | 40 ++++++++++++++++++++++++++++++++++++++++ chibi.scm | 40 ---------------------------------------- 2 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 chibi-scheme.scm delete mode 100644 chibi.scm diff --git a/chibi-scheme.scm b/chibi-scheme.scm new file mode 100644 index 0000000..8e69136 --- /dev/null +++ b/chibi-scheme.scm @@ -0,0 +1,40 @@ +(define-module (chibi-scheme) + #:use-module ((guix licenses) + #:select (bsd-3)) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu)) + + +(define-public chibi-scheme + (let ((commit-ref "abfa6a724eadb269c178afb92776795e55f1b518")) + (package + (name "chibi-scheme") + (version "freeze") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ashinn/chibi-scheme.git") + (commit commit-ref))) + (sha256 + (base32 "1xj13w49sj8p05ggvy3qizsfqmw4h5sqrv7l114yhz35c57vzgaq")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-cc + (lambda _ + (setenv "CC" "gcc")))) + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=" out) + (string-append "LDFLAGS=-Wl,-rpath=" out "/lib"))) + #:test-target "test")) + (home-page "https://github.com/ashinn/chibi-scheme") + (synopsis "Small embeddable Scheme implementation") + (description + "Chibi-Scheme is a very small library with no external dependencies + intended for use as an extension and scripting language in C programs. + In addition to support for lightweight VM-based threads, each VM itself + runs in an isolated heap allowing multiple VMs to run simultaneously in + different OS threads.") + (license bsd-3)))) diff --git a/chibi.scm b/chibi.scm deleted file mode 100644 index 77580b7..0000000 --- a/chibi.scm +++ /dev/null @@ -1,40 +0,0 @@ -(define-module (chibi) - #:use-module ((guix licenses) - #:select (bsd-3)) - #:use-module (guix packages) - #:use-module (guix git-download) - #:use-module (guix build-system gnu)) - - -(define-public chibi-scheme - (let ((commit-ref "abfa6a724eadb269c178afb92776795e55f1b518")) - (package - (name "chibi-scheme") - (version "freeze") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ashinn/chibi-scheme.git") - (commit commit-ref))) - (sha256 - (base32 "1xj13w49sj8p05ggvy3qizsfqmw4h5sqrv7l114yhz35c57vzgaq")))) - (build-system gnu-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'set-cc - (lambda _ - (setenv "CC" "gcc")))) - #:make-flags (let ((out (assoc-ref %outputs "out"))) - (list (string-append "PREFIX=" out) - (string-append "LDFLAGS=-Wl,-rpath=" out "/lib"))) - #:test-target "test")) - (home-page "https://github.com/ashinn/chibi-scheme") - (synopsis "Small embeddable Scheme implementation") - (description - "Chibi-Scheme is a very small library with no external dependencies - intended for use as an extension and scripting language in C programs. - In addition to support for lightweight VM-based threads, each VM itself - runs in an isolated heap allowing multiple VMs to run simultaneously in - different OS threads.") - (license bsd-3)))) -- cgit v1.2.3