nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at release-19.03 32 lines 930 B view raw
1{ stdenv, fetchurl, libopcodes }: 2 3with stdenv.lib; 4stdenv.mkDerivation rec { 5 6 name = "lightning-${version}"; 7 version = "2.1.2"; 8 9 src = fetchurl { 10 url = "mirror://gnu/lightning/${name}.tar.gz"; 11 sha256 = "0sbs2lm8b9in2m8d52zf0x9gpp40x6r7sl6sha92yq3pr78rwa4v"; 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 = stdenv.lib.platforms.linux; 31 }; 32}