Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
874 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, hatchling, unittestCheckHook, zhon,}:
buildPythonPackage rec { pname = "hanzidentifier"; version = "1.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "tsroten"; repo = "hanzidentifier"; tag = "v${version}"; hash = "sha256-TVS21zy5UR+tGgVRB6eUguy2PGgruxbc+QR0DYUWl4w="; };
build-system = [ hatchling ];
dependencies = [ zhon ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "hanzidentifier" ];
meta = { description = "Python module that identifies Chinese text as being Simplified or Traditional"; homepage = "https://github.com/tsroten/hanzidentifier"; changelog = "https://github.com/tsroten/hanzidentifier/blob/${src.rev}/CHANGES.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; };}