blob: 38eebe9393f4050954da027aff6cca758d3583d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
buildPythonPackage,
pkgs,
lib,
hfst,
}:
buildPythonPackage rec {
pname = "omorfi";
format = "setuptools";
inherit (pkgs.omorfi) src version;
sourceRoot = "${src.name}/src/python";
propagatedBuildInputs = [ hfst ];
# Fixes some improper import paths
patches = [ ./importfix.patch ];
# Apply patch relative to source/src
patchFlags = [ "-p3" ];
meta = {
description = "Python interface for Omorfi";
homepage = "https://github.com/flammie/omorfi";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ lurkki ];
};
}
|