jbofihe: modernize

- replace `rec` with `finalAttrs`
- remove `with lib;` from `meta`
This commit is contained in:
ghpzin
2025-04-01 20:13:44 +03:00
parent 74c5c8069d
commit 04584e1835
+6 -6
View File
@@ -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 ];
};
}
})