at master 644 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 unittestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "pyuca"; 10 version = "1.2"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "jtauber"; 15 repo = "pyuca"; 16 rev = "v${version}"; 17 hash = "sha256-KIWk+/o1MX5J9cO7xITvjHrYg0NdgdTetOzfGVwAI/4="; 18 }; 19 20 pythonImportsCheck = [ "pyuca" ]; 21 22 nativeCheckInputs = [ unittestCheckHook ]; 23 24 meta = with lib; { 25 description = "Python implementation of the Unicode Collation Algorithm"; 26 homepage = "https://github.com/jtauber/pyuca"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ hexa ]; 29 }; 30}