at v192 32 lines 936 B view raw
1{ stdenv, fetchurl, binutils }: 2 3with stdenv.lib; 4stdenv.mkDerivation rec { 5 6 name = "lightning-${version}"; 7 version = "2.1.0"; 8 9 src = fetchurl { 10 url = "mirror://gnu/lightning/${name}.tar.gz"; 11 sha256 = "19j9nwl88k660045s40cbz5zrl1wpd2mcxnnc8qqnnaj311a58qz"; 12 }; 13 14 # Needs libopcodes.so from binutils for 'make check' 15 buildInputs = [ binutils ]; 16 17 doCheck = true; 18 19 meta = { 20 homepage = http://www.gnu.org/software/lightning/; 21 description = "Run-time code generation library"; 22 longDescription = '' 23 GNU lightning is a library that generates assembly language code 24 at run-time; it is very fast, making it ideal for Just-In-Time 25 compilers, and it abstracts over the target CPU, as it exposes 26 to the clients a standardized RISC instruction set inspired by 27 the MIPS and SPARC chips. 28 ''; 29 maintainers = [ maintainers.AndersonTorres ]; 30 license = licenses.lgpl3Plus; 31 }; 32}