1{
2 lib,
3 stdenv,
4 fetchurl,
5 automake,
6 autoconf,
7 libtool,
8 pkg-config,
9 autoconf-archive,
10}:
11
12let
13 release = lib.importJSON ./release-info/LanguageMachines-frogdata.json;
14in
15
16stdenv.mkDerivation {
17 pname = "frogdata";
18 version = release.version;
19 src = fetchurl {
20 inherit (release) url sha256;
21 name = "frogdata-${release.version}.tar.gz";
22 };
23 nativeBuildInputs = [
24 pkg-config
25 automake
26 autoconf
27 ];
28 buildInputs = [
29 libtool
30 autoconf-archive
31 ];
32
33 preConfigure = ''
34 sh bootstrap.sh
35 '';
36
37 meta = with lib; {
38 description = "Data for Frog, a Tagger-Lemmatizer-Morphological-Analyzer-Dependency-Parser for Dutch";
39 homepage = "https://languagemachines.github.io/frog";
40 license = licenses.gpl3;
41 platforms = platforms.all;
42 maintainers = with maintainers; [ roberth ];
43 };
44
45}