1 { lib, stdenv, fetchFromGitHub, prevo-tools }:
3 stdenv.mkDerivation rec {
5 version = "2020-03-08";
7 src = fetchFromGitHub {
10 rev = "1e8d7197c0bc831e2127909e77e64dfc26906bdd";
11 sha256 = "1ldhzpi3d5cbssv8r7acsn7qwxcl8qpqi8ywpsp7cbgx3w7hhkyz";
14 nativeBuildInputs = [ prevo-tools ];
19 prevodb -s -i $src -o prevo.db
23 mkdir -p $out/share/prevo
24 cp prevo.db $out/share/prevo/
29 "data for offline version of the Esperanto dictionary Reta Vortaro";
31 PReVo is the "portable" ReVo, i.e., the offline version
32 of the Esperanto dictionary Reta Vortaro.
34 This package provides the ReVo database for the prevo command line application.
36 homepage = "https://github.com/bpeel/revo";
37 license = licenses.gpl2Only;
38 maintainers = [ maintainers.das-g ];
39 platforms = platforms.linux;