···1-{ fetchurl, stdenv, binutils }:
203stdenv.mkDerivation rec {
4- name = "lightning-2.0.5";
0056 src = fetchurl {
7 url = "mirror://gnu/lightning/${name}.tar.gz";
8- sha256 = "0jm9a8ddxc1v9hyzyv4ybg37fjac2yjqv1hkd262wxzqms36mdk5";
9 };
1011- # Needs libopcodes.so from binutils for 'make check'
12 buildInputs = [ binutils ];
1314 doCheck = true;
···16 meta = {
17 homepage = http://www.gnu.org/software/lightning/;
18 description = "Run-time code generation library";
19-20 longDescription = ''
21 GNU lightning is a library that generates assembly language code
22 at run-time; it is very fast, making it ideal for Just-In-Time
···24 to the clients a standardized RISC instruction set inspired by
25 the MIPS and SPARC chips.
26 '';
27-28- license = stdenv.lib.licenses.lgpl3Plus;
29 };
30}
···1+{ stdenv, fetchurl, binutils }:
23+with stdenv.lib;
4stdenv.mkDerivation rec {
5+6+ name = "lightning-${version}";
7+ version = "2.1.0";
89 src = fetchurl {
10 url = "mirror://gnu/lightning/${name}.tar.gz";
11+ sha256 = "19j9nwl88k660045s40cbz5zrl1wpd2mcxnnc8qqnnaj311a58qz";
12 };
1314+ # Needs libopcodes.so from binutils for 'make check'
15 buildInputs = [ binutils ];
1617 doCheck = true;
···19 meta = {
20 homepage = http://www.gnu.org/software/lightning/;
21 description = "Run-time code generation library";
022 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
···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}