nixpkgs/pkgs/development/python-modules/ipadic/default.nix
Michael Daniels 4b7d598de4
Reapply "Merge branch 'staging-next' into staging"
This reverts commit 4982f4c206.

The eval failure was not introduced by my merge!
2026-02-27 19:47:50 -05:00

39 lines
678 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mecab,
setuptools-scm,
cython,
}:
buildPythonPackage rec {
pname = "ipadic";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "polm";
repo = "ipadic-py";
tag = "v${version}";
hash = "sha256-ybC8G1AOIZWkS3uQSErXctIJKq9Y7xBjRbBrO8/yAj4=";
};
# no tests
doCheck = false;
nativeBuildInputs = [
cython
mecab
setuptools-scm
];
pythonImportsCheck = [ "ipadic" ];
meta = {
description = "Contemporary Written Japanese dictionary";
homepage = "https://github.com/polm/ipadic-py";
license = lib.licenses.mit;
maintainers = [ ];
};
}