Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchPypi,
unittestCheckHook,
setuptools,
unicodecsv, pyyaml, regex, numpy, editdistance, munkres, levenshtein,}:
buildPythonPackage rec { pname = "panphon"; version = "0.22.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-iSdCZjzeZhxsrkaRYHpg60evmo9g09a9Fwr0I5WWd1A="; };
build-system = [ setuptools ];
dependencies = [ unicodecsv pyyaml regex numpy editdistance munkres levenshtein # need for align_wordlists.py script ];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-s" "test" ];
pythonImportsCheck = [ "panphon" "panphon.segment" "panphon.distance" ];
meta = with lib; { description = "Tools for using the International Phonetic Alphabet with phonological features"; homepage = "https://github.com/dmort27/panphon"; license = licenses.mit; maintainers = with maintainers; [ vizid ]; };}