Files
nixpkgs/pkgs/development/python-modules/diff-match-patch/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

30 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 = [ ];
};
}