WIP: bees service
[jackhill/guix/guix.git] / gnu / packages / nickle.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016 Nikita <nikita@n0.is>
3 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
4 ;;;
5 ;;; This file is part of GNU Guix.
6 ;;;
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
11 ;;;
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
16 ;;;
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20 (define-module (gnu packages nickle)
21 #:use-module (gnu packages)
22 #:use-module (gnu packages readline)
23 #:use-module (guix build-system gnu)
24 #:use-module (guix download)
25 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (guix packages))
27
28 (define-public nickle
29 (package
30 (name "nickle")
31 (version "2.82")
32 (source (origin
33 (method url-fetch)
34 (uri (string-append "https://nickle.org/release/nickle-"
35 version ".tar.gz"))
36 (sha256
37 (base32
38 "0jy96z01qbrnmsrywn5mfa14615qdix6b8520qd65c6yjyrk8gs0"))))
39 (build-system gnu-build-system)
40 (native-inputs
41 `(("readline" ,readline)))
42 (synopsis "Numeric oriented programming language")
43 (description
44 "Nickle is a programming language based prototyping environment with
45 powerful programming and scripting capabilities. Nickle supports a variety of
46 datatypes, especially arbitrary precision numbers. The programming language
47 vaguely resembles C. Some things in C which do not translate easily are
48 different, some design choices have been made differently, and a very few
49 features are simply missing. Nickle provides the functionality of Unix bc, dc
50 and expr in a different form. It is also an ideal environment for prototyping
51 complex algorithms. Nickle's scripting capabilities make it a replacement for
52 spreadsheets in some applications, and its numeric features complement the
53 limited numeric functionality of text-oriented languages such as AWK and Perl.")
54 (home-page "https://nickle.org/")
55 (license license:expat)))