mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
69b393ace5
These URLs are reported as problematic by Repology. It could be a permanent redirection or the page does not exist anymore
22 lines
550 B
Nix
22 lines
550 B
Nix
{ lib, buildPythonPackage, fetchPypi, python }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "diff-match-patch";
|
|
version = "20181111";
|
|
|
|
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;
|
|
};
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a809a996d0f09b9bbd59e9bbd0b71eed8c807922512910e05cbd3f9480712ddb";
|
|
};
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m unittest -v diff_match_patch.tests
|
|
'';
|
|
}
|