storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libvoikko / package.nix
blob1c48c08fa53f154e51e91d0b3b43a454acee9c7c
2   stdenv,
3   lib,
4   autoreconfHook,
5   hfst-ospell,
6   fetchFromGitHub,
7   pkg-config,
8   python3,
9 }:
11 stdenv.mkDerivation (finalAttrs: {
12   pname = "libvoikko";
13   version = "4.3.2";
15   src = fetchFromGitHub {
16     owner = "voikko";
17     repo = "corevoikko";
18     tag = "rel-libvoikko-${finalAttrs.version}";
19     hash = "sha256-0MIQ54dCxyAfdgYWmmTVF+Yfa15K2sjJyP1JNxwHP2M=";
20   };
22   sourceRoot = "${finalAttrs.src.name}/libvoikko";
24   nativeBuildInputs = [
25     autoreconfHook
26     pkg-config
27     python3
28   ];
30   buildInputs = [
31     hfst-ospell
32   ];
34   meta = with lib; {
35     homepage = "https://voikko.puimula.org/";
36     description = "Finnish language processing library";
37     license = licenses.lgpl21Plus;
38     maintainers = with maintainers; [ lurkki ];
39     platforms = platforms.unix;
40   };