11 stdenv.mkDerivation (finalAttrs: {
16 url = "mirror://gnu/lightning/lightning-${finalAttrs.version}.tar.gz";
17 hash = "sha256-wEXHozoAr/v+sRBm+lAsA5kuR0piupWXeq0G28FMaCk=";
36 (lib.enableFeature true "disassembler")
42 homepage = "https://www.gnu.org/software/lightning/";
43 changelog = "https://git.savannah.gnu.org/cgit/lightning.git/tree/ChangeLog?h=lightning-${finalAttrs.version}";
44 description = "Run-time code generation library";
46 GNU lightning is a library that generates assembly language code at
47 run-time; it is very fast, making it ideal for Just-In-Time compilers, and
48 it abstracts over the target CPU, as it exposes to the clients a
49 standardized RISC instruction set inspired by the MIPS and SPARC chips.
51 maintainers = with lib.maintainers; [ AndersonTorres ];
52 license = with lib.licenses; [ lgpl3Plus ];
53 platforms = lib.platforms.unix;
54 broken = stdenv.hostPlatform.isDarwin; # failing tests