2021-01-25 08:26:54 +00:00
|
|
|
{ lib, symlinkJoin, prevo-tools, prevo-data, makeWrapper }:
|
2020-04-11 23:06:36 +00:00
|
|
|
|
|
|
|
symlinkJoin rec {
|
|
|
|
name = "prevo-${version}";
|
|
|
|
inherit (prevo-tools) version;
|
|
|
|
|
|
|
|
paths = [ prevo-tools ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/prevo \
|
|
|
|
--prefix XDG_DATA_DIRS : "${prevo-data}/share"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-11 23:06:36 +00:00
|
|
|
description = "offline version of the Esperanto dictionary Reta Vortaro";
|
|
|
|
longDescription = ''
|
|
|
|
PReVo is the "portable" ReVo, i.e., the offline version
|
|
|
|
of the Esperanto dictionary Reta Vortaro.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/bpeel/prevodb";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = [ maintainers.das-g ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|