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