mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
prevo-data: init at 2020-03-08
This commit is contained in:
parent
37cf577bbf
commit
fdf828ca22
41
pkgs/applications/misc/prevo/data.nix
Normal file
41
pkgs/applications/misc/prevo/data.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, prevo-tools }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "prevo-data";
|
||||||
|
version = "2020-03-08";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bpeel";
|
||||||
|
repo = "revo";
|
||||||
|
rev = "1e8d7197c0bc831e2127909e77e64dfc26906bdd";
|
||||||
|
sha256 = "1ldhzpi3d5cbssv8r7acsn7qwxcl8qpqi8ywpsp7cbgx3w7hhkyz";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ prevo-tools ];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
prevodb -s -i $src -o prevo.db
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/prevo
|
||||||
|
cp prevo.db $out/share/prevo/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description =
|
||||||
|
"data for 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 ReVo database for the prevo command line application.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/bpeel/revo";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = [ maintainers.das-g ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -21163,6 +21163,7 @@ in
|
|||||||
jre = openjdk11;
|
jre = openjdk11;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prevo-data = callPackage ../applications/misc/prevo/data.nix { };
|
||||||
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };
|
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };
|
||||||
|
|
||||||
ptex = callPackage ../development/libraries/ptex {};
|
ptex = callPackage ../development/libraries/ptex {};
|
||||||
|
Loading…
Reference in New Issue
Block a user