prevo: init at 0.2
This commit is contained in:
parent
fdf828ca22
commit
905cf1555c
4 changed files with 30 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
27
pkgs/applications/misc/prevo/default.nix
Normal file
27
pkgs/applications/misc/prevo/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue