diff options
author | Anderson Torres | 2024-02-10 08:20:40 -0300 |
---|---|---|
committer | Anderson Torres | 2024-02-21 09:51:45 -0300 |
commit | 97e21855ea88381bd56141412158c6ea46bdcf73 (patch) | |
tree | 5d1e275ee95ef3b61dab460d293a34dd1fbef9fa /pkgs/by-name/li/lightning | |
parent | 3787cb64db7edf0ecddc663d21272f110e6e0aa0 (diff) |
lightning: migrate to by-name
Diffstat (limited to 'pkgs/by-name/li/lightning')
-rw-r--r-- | pkgs/by-name/li/lightning/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/li/lightning/package.nix b/pkgs/by-name/li/lightning/package.nix new file mode 100644 index 000000000000..c7a3b31a9032 --- /dev/null +++ b/pkgs/by-name/li/lightning/package.nix @@ -0,0 +1,34 @@ +{ lib +, stdenv +, fetchurl +, libopcodes +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "lightning"; + version = "2.2.2"; + + src = fetchurl { + url = "mirror://gnu/lightning/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; + hash = "sha256-CsqCQt6tF9YhF7z8sHjmqeqFbMgXQoE8noOUvM5zs+I="; + }; + + nativeCheckInputs = [ libopcodes ]; + + doCheck = true; + + meta = with lib; { + homepage = "https://www.gnu.org/software/lightning/"; + description = "Run-time code generation library"; + longDescription = '' + GNU lightning is a library that generates assembly language code at + run-time; it is very fast, making it ideal for Just-In-Time compilers, and + it abstracts over the target CPU, as it exposes to the clients a + standardized RISC instruction set inspired by the MIPS and SPARC chips. + ''; + maintainers = with maintainers; [ AndersonTorres ]; + license = licenses.lgpl3Plus; + platforms = platforms.unix; + broken = stdenv.isDarwin; # failing tests + }; +}) |