1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "diff-match-patch"; 11 version = "20241021"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "diff_match_patch"; 16 inherit version; 17 hash = "sha256-vq5XqZ+kgIRTKTXuKWi4Zh24YYYuyCxvIfSs3W2DUHM="; 18 }; 19 20 dependencies = [ flit-core ]; 21 22 nativeCheckInputs = [ unittestCheckHook ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/diff-match-patch-python/diff-match-patch"; 26 description = "Diff, Match and Patch libraries for Plain Text"; 27 license = licenses.asl20; 28 maintainers = [ ]; 29 }; 30}