lightning: refactor
- get rid of pname parameterization - split outputs - strictDeps - get rid of nested with
This commit is contained in:
parent
97e21855ea
commit
be18265671
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, libopcodes
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -9,15 +9,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/lightning/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
|
||||
url = "mirror://gnu/lightning/lightning-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-CsqCQt6tF9YhF7z8sHjmqeqFbMgXQoE8noOUvM5zs+I=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "info" ];
|
||||
|
||||
nativeCheckInputs = [ libopcodes ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/lightning/";
|
||||
description = "Run-time code generation library";
|
||||
longDescription = ''
|
||||
@ -26,9 +30,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
license = with lib.licenses; [ lgpl3Plus ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.isDarwin; # failing tests
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user