depot/third_party/nixpkgs/pkgs/development/python-modules/diff-match-patch/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

32 lines
639 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 = with maintainers; [ ];
};
}