From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add nickle. Date: Mon, 19 Sep 2016 18:15:13 +0000 Message-ID: <877fa7u572.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm36O-0006Qq-Ew for guix-devel@gnu.org; Mon, 19 Sep 2016 14:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm36J-0005Em-QK for guix-devel@gnu.org; Mon, 19 Sep 2016 14:15:35 -0400 Received: from aibo.runbox.com ([91.220.196.211]:55681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm36J-0005BL-Ef for guix-devel@gnu.org; Mon, 19 Sep 2016 14:15:31 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bm36G-0004wI-H7 for guix-devel@gnu.org; Mon, 19 Sep 2016 20:15:28 +0200 Received: from x5d83f6f8.dyn.telefonica.de ([93.131.246.248] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bm363-0002lj-Fv for guix-devel@gnu.org; Mon, 19 Sep 2016 20:15:15 +0200 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" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Description could be improved maybe. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-nickle.patch Content-Transfer-Encoding: quoted-printable From=2047bb1e42fac4504e207f45f8906fa2f76dc76312 Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 19 Sep 2016 18:10:15 +0000 Subject: [PATCH] gnu: Add nickle. * gnu/local.mk: Include gnu/packages/nickle.scm . * gnu/packages/nickle.scm: Add new file. * gnu packages/nickle.scm (nickle): New variable. =2D-- gnu/local.mk | 1 + gnu/packages/nickle.scm | 63 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 64 insertions(+) create mode 100644 gnu/packages/nickle.scm diff --git a/gnu/local.mk b/gnu/local.mk index 4076121..812e71d 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -259,6 +259,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/nettle.scm \ %D%/packages/networking.scm \ %D%/packages/nfs.scm \ + %D%/packages/nickle.scm \ %D%/packages/ninja.scm \ %D%/packages/node.scm \ %D%/packages/noweb.scm \ diff --git a/gnu/packages/nickle.scm b/gnu/packages/nickle.scm new file mode 100644 index 0000000..5e0bb29 =2D-- /dev/null +++ b/gnu/packages/nickle.scm @@ -0,0 +1,63 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2016 ng0 +;;; +;;; 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 nickle) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages readline) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public nickle + (package + (name "nickle") + (version "2.77") + (source (origin + (method url-fetch) + (uri (string-append "http://nickle.org/release/nickle-" + version ".tar.gz")) + (sha256 + (base32 + "0rhij7cn1zkn8wzxyjkamz9fs262zyg80p6v6i864hdalg4plpm3")))) + (build-system gnu-build-system) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("bison" ,bison) + ("flex" ,flex) + ("readline" ,readline))) + (synopsis "Numeric oriented programming language") + (description + "Nickle is a programming language based prototyping environment with +powerful programming and scripting capabilities. Nickle supports a +variety of datatypes, especially arbitrary precision numbers. +The programming language vaguely resembles C. Some things in C which do +not translate easily are different, some design choices have been made +differently, and a very few features are simply missing. +Nickle provides the functionality of UNIX bc, dc and expr in much-improved + form. It is also an ideal environment for prototyping complex algorithms. +Nickle's scripting capabilities make it a nice replacement for spreadsheets +in some applications, and its numeric features nicely complement the +limited numeric functionality of text-oriented languages such as AWK and +PERL.") + (home-page "http://nickle.org/") + (license license:expat))) =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX4CsyAAoJEAKilhUMIBgjUQQP/0eSP2Z69kxRXeqpxwtxO0+Q WZe+1vI0vkVLwdSevB0qb1AopD+tnKMeaCmL4eKdwHwsLHucjYpz9U6Ch/TcxBOM 0p+K4XVdOiTrwEz+kPlIe4UO1PTt+5SgxX4p9Wx4Z68k4OJsBdh6kzVj/fgf2xI4 WddMVeCqYxoqCi0ZyFsJMJDzH7axbnmczcc2slQY0fJhnc6rs8X6m7+yyeEBEfjm Vd2U06uWdvZu2I/uKDcuYOrUY8B3U/YV1qosC7YtfwsSXl1kWhGlV+pm1EWyDeq9 COwvZwX2hYeH24yIG1fmuA21wkcyX6Mg4i7cWZ682+oMmcxDXS97b9h5S1cPZmor kRuwf6hnQJy+HefLuhEiul/4pJB8BKzSdUbtDKZOpR2lo87JZMNnMrGs+YTftCyO yscvuxG+4SzVWi3bUImxa/TJGklsQZvyC7cxsUQEDipW26IBeyEstIAQYj6t9S9X mRg8j4jirXzjg5cqsWUbEuU8jd1XQZPJ67xQN5CuW8bJYHWQBr7Igw8RO01zdMNW cWJSWGOxld3ro6lB50XwLbmj3gRyZuujbZbTLYWvFB+ilLM9N0OfHMeDgnPTrsqh k14KhAyLd1MQwGi/aUMCbYxU7O3arqBrWQcZqW9/S0CWpK0oxVF/RMCJcor+Q3Db 5J19UJFphydTfgUyxrUX =QP69 -----END PGP SIGNATURE----- --==-=-=--