nixpkgs/pkgs/by-name/pr/prevo/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
794 B
Nix
Raw Normal View History

{ lib, symlinkJoin, man, 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 PATH ":" "${lib.makeBinPath [ man ]}" \
--suffix XDG_DATA_DIRS : "${prevo-data}/share" \
2020-04-11 23:06:36 +00:00
'';
meta = {
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 = lib.licenses.gpl2Only;
mainProgram = "prevo";
maintainers = with lib.maintainers; [ das-g ehmry ];
2020-04-11 23:06:36 +00:00
};
}