summary refs log tree commit diff
path: root/pkgs/development/python-modules/htmltreediff/default.nix
blob: 5e839e4ada9b4be65f6f21f54ef1002bda2e6058 (plain) (blame)
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
{ buildPythonPackage, fetchFromGitHub, isPy3k, lxml, html5lib, nose, stdenv }:

buildPythonPackage rec {
  version = "v0.1.2";
  pname = "htmltreediff";

  disabled = isPy3k;

  src = fetchFromGitHub {
    owner = "christian-oudard";
    repo = pname;
    rev = version;
    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 ];
  };
}