prevo: init at 0.2

gstqt5
Raphael Borun Das Gupta 2020-04-12 01:06:36 +02:00 committed by Ryan Mulligan
parent fdf828ca22
commit 905cf1555c
4 changed files with 30 additions and 2 deletions

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
This package provides the ReVo database for the prevo command line application.
'';
homepage = "https://github.com/bpeel/revo";
license = licenses.gpl2;
license = licenses.gpl2Only;
maintainers = [ maintainers.das-g ];
platforms = platforms.linux;
};

View File

@ -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;
};
}

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
database for this application or for the Android app of the same name.
'';
homepage = "https://github.com/bpeel/prevodb";
license = licenses.gpl2;
license = licenses.gpl2Only;
maintainers = [ maintainers.das-g ];
platforms = platforms.linux;
};

View File

@ -21163,6 +21163,7 @@ in
jre = openjdk11;
};
prevo = callPackage ../applications/misc/prevo { };
prevo-data = callPackage ../applications/misc/prevo/data.nix { };
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };