prevo-tools: init at 0.2
This commit is contained in:
parent
3a70659b4d
commit
37cf577bbf
38
pkgs/applications/misc/prevo/tools.nix
Normal file
38
pkgs/applications/misc/prevo/tools.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat
|
||||||
|
, installShellFiles }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "prevo-tools";
|
||||||
|
version = "0.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bpeel";
|
||||||
|
repo = "prevodb";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1fyrc4g9qdq04nxs4g8x0krxfani5xady6v9m0qfqpbh4xk2ry2d";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkg-config installShellFiles ];
|
||||||
|
buildInputs = [ glib expat ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --bash $out/etc/bash_completion.d/prevo-completion
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description =
|
||||||
|
"CLI tools for the 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.
|
||||||
|
|
||||||
|
This package provides the command line application prevo to query a local
|
||||||
|
ReVo database, as well as the command line tool revodb to create such a
|
||||||
|
database for this application or for the Android app of the same name.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/bpeel/prevodb";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = [ maintainers.das-g ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -21163,6 +21163,8 @@ in
|
|||||||
jre = openjdk11;
|
jre = openjdk11;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };
|
||||||
|
|
||||||
ptex = callPackage ../development/libraries/ptex {};
|
ptex = callPackage ../development/libraries/ptex {};
|
||||||
|
|
||||||
qbec = callPackage ../applications/networking/cluster/qbec { };
|
qbec = callPackage ../applications/networking/cluster/qbec { };
|
||||||
|
Loading…
Reference in New Issue
Block a user