lsd2dsl: modernize

This commit is contained in:
Nikolay Korotkiy
2025-08-01 15:31:51 +04:00
parent e8cb992ccc
commit 0bd5ea3e1b
+8 -8
View File
@@ -16,14 +16,14 @@
qt6,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lsd2dsl";
version = "0.6.0";
src = fetchFromGitHub {
owner = "nongeneric";
repo = "lsd2dsl";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-0UsxDNpuWpBrfjh4q3JhZnOyXhHatSa3t/cApiG2JzM=";
};
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
exec = "lsd2dsl-qtgui";
desktopName = "lsd2dsl";
genericName = "lsd2dsl";
comment = meta.description;
comment = finalAttrs.meta.description;
categories = [
"Dictionary"
"FileTools"
@@ -75,14 +75,14 @@ stdenv.mkDerivation rec {
install -Dm755 console/lsd2dsl gui/lsd2dsl-qtgui -t $out/bin
'';
meta = with lib; {
meta = {
homepage = "https://rcebits.com/lsd2dsl/";
description = "Lingvo dictionaries decompiler";
longDescription = ''
A decompiler for ABBYY Lingvos proprietary dictionaries.
'';
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.unix;
};
}
})