From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: [PATCH] gnu: add lispf4 Date: Sun, 07 Feb 2016 17:50:12 +0100 Message-ID: <87wpqgea7v.fsf@grrlz.net> References: <87y4ax3cf2.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSSXY-0003Om-5Z for guix-devel@gnu.org; Sun, 07 Feb 2016 11:50:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSSXU-0004xA-V1 for guix-devel@gnu.org; Sun, 07 Feb 2016 11:50:24 -0500 Received: from perdizione.investici.org ([94.23.50.208]:58623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSSXU-0004wv-Gj for guix-devel@gnu.org; Sun, 07 Feb 2016 11:50:20 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 8DE041200AF for ; Sun, 7 Feb 2016 16:50:18 +0000 (UTC) In-Reply-To: <87y4ax3cf2.fsf@grrlz.net> (Nils Gillmann's message of "Sat, 06 Feb 2016 19:45:53 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Nils Gillmann writes: --snipsnap-- I hope this works, I pulled from master some minutes ago, I merged the branch, squashed the commits into one with softreset,... I really hope I did it right. It takes some time getting used to more git usage. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-lispf4.patch Content-Transfer-Encoding: quoted-printable >From d3dfc39a537b07e01370ed631c7771952948a9c2 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Sun, 7 Feb 2016 17:36:25 +0100 Subject: [PATCH] gnu: Add lispf4. * gnu/packages/lisp.scm (lispf4): New variable. --- gnu/packages/lisp.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++= ++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index e64fd49..b49f5dd 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2015 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Federico Beffa +;;; Copyright =C2=A9 2016 Nils Gillmann ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ #:use-module (gnu packages texlive) #:use-module (gnu packages m4) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages base) @@ -425,3 +427,50 @@ interface.") ;; applies to Lisp code according to them. (license (list license:lgpl2.1 license:clarified-artistic)))) ;TRIVIAL-LDAP package + +(define-public lispf4 + (let ((commit "174d8764d2f9764e8f4794c2e3feada9f9c1f1ba")) + (package + (name "lispf4") + (version (string-append "0.0.0-1" "-" + (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/blakemcbride/LISPF4.git") + (commit commit))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "18k8kfn30za637y4bfbm9x3vv4psa3q8f7bi9h4h0qlb8rz8m92c"))= )) + (build-system gnu-build-system) + ;; 80 MB appended Documentation -> output:doc + (outputs '("out" "doc")) + (arguments + `(#:make-flags + '("-f" "Makefile.unx" "CC=3Dgcc") + ;; no check phase + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace + 'install + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "lispf4" bin) + (install-file "SYSATOMS" bin) + (install-file "BASIC.IMG" bin) + (let* ((doc (assoc-ref outputs "doc")) + (doc (string-append doc "/share/doc/lispf4"))) + (copy-recursively "Documentation" doc))) + #t))))) + (synopsis "InterLisp interpreter") + (description + "LISPF4 is an InterLisp interpreter written in FORTRAN by Mats Nord= strom +in the early 80's. It was converted to C by Blake McBride and supports mu= ch of +the InterLisp Standard. The original user manual, implementors manual and= the +documentation can be obtained through 'guix -i lispf4:doc'.") + (home-page "https://github.com/blakemcbride/LISPF4.git") + (license license:expat)))) --=20 2.6.3 --=-=-= Content-Type: text/plain -- ng/ni* vcard: http://krosos.sdf.org --=-=-=--