diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/prevo/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/prevo/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/prevo/default.nix b/nixpkgs/pkgs/applications/misc/prevo/default.nix new file mode 100644 index 000000000000..1f299b15d409 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/prevo/default.nix @@ -0,0 +1,27 @@ +{ 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; + }; +} |