mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
43 lines
850 B
Nix
43 lines
850 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "kanjize";
|
|
version = "1.6.1";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nagataaaas";
|
|
repo = "kanjize";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-eR4rtGpwzZ8VALiaybr6fdUok6DkvZc+Q1AONIfr4s4=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"kanjize"
|
|
];
|
|
|
|
meta = {
|
|
description = "Easy converter between Kanji-Number and Integer";
|
|
homepage = "https://pypi.org/project/kanjize/";
|
|
changelog = "https://github.com/nagataaaas/Kanjize/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ colepearson27 ];
|
|
};
|
|
})
|