2018-03-11 00:20:17 +01:00
|
|
|
{ buildPythonPackage, fetchFromGitHub, isPy3k, lxml, html5lib, nose, stdenv }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
version = "0.1.2";
|
2018-03-11 00:20:17 +01:00
|
|
|
pname = "htmltreediff";
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "christian-oudard";
|
|
|
|
repo = pname;
|
2018-05-28 14:59:57 +02:00
|
|
|
rev = "v${version}";
|
2018-03-11 00:20:17 +01:00
|
|
|
sha256 = "16mqp2jyznrw1mgd3qzybq28h2k5wz7vmmz1m6xpgscazyjhvvd1";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lxml html5lib ];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = " Structure-aware diff for html and xml documents";
|
|
|
|
homepage = https://github.com/christian-oudard/htmltreediff;
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|