1{ buildPythonPackage, fetchFromGitHub, isPy3k, lxml, html5lib, nose, stdenv }:
2
3buildPythonPackage rec {
4 version = "0.1.2";
5 pname = "htmltreediff";
6
7 disabled = isPy3k;
8
9 src = fetchFromGitHub {
10 owner = "christian-oudard";
11 repo = pname;
12 rev = "v${version}";
13 sha256 = "16mqp2jyznrw1mgd3qzybq28h2k5wz7vmmz1m6xpgscazyjhvvd1";
14 };
15
16 propagatedBuildInputs = [ lxml html5lib ];
17
18 checkInputs = [ nose ];
19
20 meta = with stdenv.lib; {
21 description = " Structure-aware diff for html and xml documents";
22 homepage = https://github.com/christian-oudard/htmltreediff;
23 license = licenses.bsdOriginal;
24 maintainers = with maintainers; [ ma27 ];
25 };
26}