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

33 lines
936 B
Nix
Raw Normal View History

2015-07-27 18:28:34 +02:00
{ stdenv, fetchurl, binutils }:
2015-07-27 18:28:34 +02:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-07-27 18:28:34 +02:00
name = "lightning-${version}";
version = "2.1.0";
src = fetchurl {
2014-08-28 19:12:34 +02:00
url = "mirror://gnu/lightning/${name}.tar.gz";
2015-07-27 18:28:34 +02:00
sha256 = "19j9nwl88k660045s40cbz5zrl1wpd2mcxnnc8qqnnaj311a58qz";
};
2015-07-27 18:28:34 +02:00
# Needs libopcodes.so from binutils for 'make check'
2014-07-02 05:04:28 +02: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 18:28:34 +02:00
maintainers = [ maintainers.AndersonTorres ];
license = licenses.lgpl3Plus;
};
2014-07-02 05:04:28 +02:00
}