Files
nixpkgs/pkgs/development/python-modules/omorfi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
583 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 = with lib; {
description = "Python interface for Omorfi";
homepage = "https://github.com/flammie/omorfi";
license = licenses.gpl3;
maintainers = with maintainers; [ lurkki ];
};
}