;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Martin Becze ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix 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. ;;; ;;; GNU Guix 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 GNU Guix. If not, see . (define-module (gnu packages loko) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages package-management) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) #:use-module (gnu packages chez)) (define-public loko-scheme (package (name "loko-scheme") (version "0.12.0") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/weinholt/loko") (commit (string-append "v" version)))) (sha256 (base32 "12xp82z91qkp9q8lfp46s4sda8qgs472jic3js1kbykn4jzy7399")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments (list ;; r7rs tests are a work in progress as of 0.7.0. #:tests? #f #:strip-binaries? #f #:make-flags #~(list (string-append "PREFIX=" #$output)) #:phases #~(modify-phases %standard-phases (delete 'configure) (add-before 'build 'akku-fixes (lambda _ (delete-file "Akku.lock") (substitute* "Akku.manifest" (("\\(depends.*") "(depends)")) (invoke "akku" "install") (let ((dest "./.akku/lib/") (source "/share/guile/site/3.0/")) (for-each (lambda (name prefix) ;; Symlink the scheme libraries so that Akku can find them (symlink (string-append prefix source name) (string-append dest name))) '("struct" "laesare" "pfds" "machine-code") (list #$(this-package-native-input "guile-struct-pack") #$(this-package-native-input "guile-laesare") #$(this-package-native-input "guile-pfds") #$(this-package-native-input "guile-machine-code")))) (substitute* ".akku/env" (("/bin/sh") (which "sh"))) #t))))) (native-inputs (list akku (chez-scheme-for-system) guile-struct-pack guile-laesare guile-pfds guile-machine-code)) (home-page "https://scheme.fail") (synopsis "Implementation of the algorithmic language Scheme") (description "Loko Scheme is intended to be a platform for application and operating system development. It is written purely in Scheme and some assembler (i.e. no C code at the bottom). Both the R6RS and the R7RS standards are supported.") (license license:agpl3+))) ss='msg-tooltip'>While at it, fix the inheritance. * gnu/packages/python-science.scm (python2-pandas): Use INHERIT instead of PACKAGE/INHERIT. [source](modules, snippet): New fields. Marius Bakke 2020-02-19gnu: python-scikit-image: Use HTTPS home page....* gnu/packages/python-science.scm (python-scikit-image)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-01-15gnu: python-lxml: Move to (gnu packages xml)....* gnu/packages/python-xyz.scm (python-lxml): Move from here ... * gnu/packages/xml.scm (python-lxml): ... to here. * gnu/packages/django.scm, gnu/packages/drones.scm, gnu/packages/libreoffice.scm, gnu/packages/nutrition.scm, gnu/packages/openstack.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-science.scm, gnu/packages/tryton.scm, gnu/packages/wireservice.scm: Adjust module imports. Marius Bakke 2019-12-04gnu: python-pandas: Move to (gnu packages python-science)....* gnu/packages/python-xyz.scm (python-pandas, python2-pandas): Move from here... * gnu/packages/python-science.scm (python-pandas, python2-pandas): ...to here. * gnu/packages/benchmark.scm, gnu/packages/databases.scm, gnu/packages/graph.scm, gnu/packages/parallel.scm, gnu/packages/serialization.scm: Import (gnu packages python-science). Ricardo Wurmus 2019-12-02gnu: python-scipy: Move to (gnu packages python-science)....* gnu/packages/python-xyz.scm (python-scipy, python2-scipy): Move these from here... * gnu/packages/python-science.scm (python-scipy, python2-scipy): ...to here. * gnu/packages/bioinformatics.scm, gnu/packages/machine-learning.scm, gnu/packages/statistics.scm: Adjust module imports. Ricardo Wurmus 2019-12-02gnu: python-scikit-image: Move to (gnu packages python-science)....* gnu/packages/python-xyz.scm (python-scikit-image, python2-scikit-image): Move these two from here... * gnu/packages/python-science.scm: ...to this new file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Ricardo Wurmus