nixpkgs/pkgs/development/libraries/lightning/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1003 B
Nix
Raw Normal View History

2022-12-19 01:18:46 +00:00
{ lib
, stdenv
, fetchurl
, libopcodes
}:
2015-07-27 16:28:34 +00:00
2022-12-19 01:18:46 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "lightning";
2023-03-08 02:54:19 +00:00
version = "2.2.1";
src = fetchurl {
2022-12-19 01:18:46 +00:00
url = "mirror://gnu/lightning/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
2023-03-08 02:54:19 +00:00
hash = "sha256-mGcWgdVoR3DMsGoH+juPAypFS9tW6vwY5vqwRFnqPKo=";
};
nativeCheckInputs = [ libopcodes ];
2014-07-02 03:04:28 +00:00
doCheck = true;
2022-12-19 01:18:46 +00:00
meta = with lib; {
homepage = "https://www.gnu.org/software/lightning/";
description = "Run-time code generation library";
longDescription = ''
2022-12-19 01:18:46 +00:00
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.
'';
2022-12-19 01:18:46 +00:00
maintainers = with maintainers; [ AndersonTorres ];
2015-07-27 16:28:34 +00:00
license = licenses.lgpl3Plus;
2022-12-19 01:18:46 +00:00
platforms = platforms.unix;
2022-12-19 05:10:53 +00:00
broken = stdenv.isDarwin; # failing tests
};
2022-12-19 01:18:46 +00:00
})