diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-08-24 10:04:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-08-24 10:04:43 +0200 |
commit | 39b04845826069221e6603ff9ee7c462b20946e4 (patch) | |
tree | 6a8413de27b5178afeb401b74f775f950be5630b | |
parent | 853726dd36085bc9c272f8507fcdcf39e08f9e00 (diff) |
gnu: Add GNU lightning.
* gnu/packages/lightning.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
-rw-r--r-- | gnu-system.am | 1 | ||||
-rw-r--r-- | gnu/packages/lightning.scm | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/gnu-system.am b/gnu-system.am index 34c153e940..91475393ba 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -102,6 +102,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/libunistring.scm \ gnu/packages/libusb.scm \ gnu/packages/libunwind.scm \ + gnu/packages/lightning.scm \ gnu/packages/linux.scm \ gnu/packages/linux-initrd.scm \ gnu/packages/lout.scm \ diff --git a/gnu/packages/lightning.scm b/gnu/packages/lightning.scm new file mode 100644 index 0000000000..a1b3bdfd94 --- /dev/null +++ b/gnu/packages/lightning.scm @@ -0,0 +1,44 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> +;;; +;;; 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 <http://www.gnu.org/licenses/>. + +(define-module (gnu packages lightning) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses)) + +(define-public lightning + (package + (name "lightning") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/lightning/lightning-" + version ".tar.gz")) + (sha256 + (base32 + "0m0hc9aqw72wsg2sq2hx8zwhfvz814rfr7rz9qcyn3n4qv2kc5z4")))) + (build-system gnu-build-system) + (synopsis "Library for generating assembly code at runtime") + (description + "GNU lightning is a library that generates assembly language code at +run-time; it is very fast, making it ideal for Just-In-Time compilers, and it +abstracts over the target CPU, as it exposes to the clients a standardized +RISC instruction set inspired by the MIPS and SPARC chips.") + (home-page "http://www.gnu.org/software/lightning/") + (license gpl3+))) |