jbofihe: modernize
- replace `rec` with `finalAttrs` - remove `with lib;` from `meta`
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
perl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jbofihe";
|
||||
version = "0.43";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lojban";
|
||||
repo = "jbofihe";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "1xx7x1256sjncyzx656jl6jl546vn8zz0siymqalz6v9yf341p98";
|
||||
};
|
||||
|
||||
@@ -37,10 +37,10 @@ stdenv.mkDerivation rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Parser & analyser for Lojban";
|
||||
homepage = "https://github.com/lojban/jbofihe";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ chkno ];
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ chkno ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user