depot/third_party/nixpkgs/pkgs/development/python-modules/diff-match-patch/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

29 lines
616 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "diff-match-patch";
version = "20230430";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-lTAZzbnJ0snke1sSvP889HRvxFmOtAYHb6H8J+ah8Vw=";
};
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
homepage = "https://github.com/diff-match-patch-python/diff-match-patch";
description = "Diff, Match and Patch libraries for Plain Text";
license = licenses.asl20;
maintainers = [ ];
};
}