nixpkgs/pkgs/development/libraries/lightning/default.nix

34 lines
980 B
Nix
Raw Normal View History

2015-07-27 16:28:34 +00:00
{ stdenv, fetchurl, binutils }:
2015-07-27 16:28:34 +00:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-07-27 16:28:34 +00:00
name = "lightning-${version}";
version = "2.1.0";
src = fetchurl {
2014-08-28 17:12:34 +00:00
url = "mirror://gnu/lightning/${name}.tar.gz";
2015-07-27 16:28:34 +00:00
sha256 = "19j9nwl88k660045s40cbz5zrl1wpd2mcxnnc8qqnnaj311a58qz";
};
2015-07-27 16:28:34 +00:00
# Needs libopcodes.so from binutils for 'make check'
2014-07-02 03:04:28 +00:00
buildInputs = [ binutils ];
doCheck = true;
meta = {
homepage = http://www.gnu.org/software/lightning/;
description = "Run-time code generation library";
longDescription = ''
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.
'';
2015-07-27 16:28:34 +00:00
maintainers = [ maintainers.AndersonTorres ];
license = licenses.lgpl3Plus;
platforms = stdenv.lib.platforms.linux;
};
2014-07-02 03:04:28 +00:00
}