summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/diff-match-patch/default.nix
blob: e805f60e6f0938648e3dd7815fd7a1f1a0b730ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchPypi,
  flit-core,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "diff-match-patch";
  version = "20241021";
  pyproject = true;

  src = fetchPypi {
    pname = "diff_match_patch";
    inherit version;
    hash = "sha256-vq5XqZ+kgIRTKTXuKWi4Zh24YYYuyCxvIfSs3W2DUHM=";
  };

  dependencies = [ flit-core ];

  nativeCheckInputs = [ unittestCheckHook ];

  meta = {
    homepage = "https://github.com/diff-match-patch-python/diff-match-patch";
    description = "Diff, Match and Patch libraries for Plain Text";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}