1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/libraries/lightning/default.nix

33 lines
936 B
Nix
Raw Normal View History

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