16 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
22 owner = "trailofbits";
24 rev = "refs/tags/v${version}";
25 sha256 = "sha256-ZazqtrrCsoeJK7acj7Unpl+ZI2JL/khMN2aOSHdCHl0=";
28 propagatedBuildInputs = [
38 checkInputs = [ pytestCheckHook ];
41 substituteInPlace setup.py \
42 --replace "json5==0.9.5" "json5>=0.9.5"
45 pythonImportsCheck = [ "graphtage" ];
48 homepage = "https://github.com/trailofbits/graphtage";
49 description = "A utility to diff tree-like files such as JSON and XML";
50 license = licenses.lgpl3Plus;
51 maintainers = with maintainers; [ veehaitch ];