Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / omorfi / default.nix
blob55fe7a0454aec8ecfa01f2617d5d362f0a33783a
1 { buildPythonPackage
2 , pkgs
3 , lib
4 , stdenv
5 , hfst
6 }:
8 buildPythonPackage rec {
9   pname = "omorfi";
10   format = "setuptools";
11   inherit (pkgs.omorfi) src version;
13   sourceRoot = "${src.name}/src/python";
15   propagatedBuildInputs = [
16     hfst
17   ];
19   # Fixes some improper import paths
20   patches = [ ./importfix.patch ];
22   # Apply patch relative to source/src
23   patchFlags = [ "-p3" ];
25   meta = with lib; {
26     description = "Python interface for Omorfi";
27     homepage = "https://github.com/flammie/omorfi";
28     license = licenses.gpl3;
29     maintainers = with maintainers; [ lurkki ];
30     # Ofborg build error (hfst not found?)
31     broken = stdenv.isDarwin;
32   };