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