4a3aa3d7d8
GitOrigin-RevId: 24c9b05ac53e422f1af81a156f1fd58499eb27fb
27 lines
737 B
Nix
27 lines
737 B
Nix
{ stdenv, symlinkJoin, prevo-tools, prevo-data, makeWrapper }:
|
|
|
|
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"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
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;
|
|
};
|
|
}
|