depot/third_party/nixpkgs/pkgs/development/python-modules/htmltreediff/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
678 B
Nix

{ buildPythonPackage, fetchFromGitHub, isPy3k, lxml, html5lib, nose, stdenv }:
buildPythonPackage rec {
version = "0.1.2";
pname = "htmltreediff";
disabled = isPy3k;
src = fetchFromGitHub {
owner = "christian-oudard";
repo = pname;
rev = "v${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 ];
};
}