blob: dc0885a71f3f5648285d906de8970502cac891df (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, python3
, fetchFromGitHub
}:
let
version = "2.6.3";
src = fetchFromGitHub {
owner = "Shoobx";
repo = "xmldiff";
rev = version;
hash = "sha256-qn8gGultTSNKPUro6Ap4xJGcbpxV+lKgZFpKvyPdhtc=";
};
in
python3.pkgs.buildPythonApplication {
pname = "xmldiff";
inherit version src;
propagatedBuildInputs = with python3.pkgs; [
lxml
setuptools
];
meta = {
homepage = "https://xmldiff.readthedocs.io/en/stable/";
description = "Library and command line utility for diffing xml";
longDescription = ''
xmldiff is a library and a command-line utility for making diffs out of
XML. This may seem like something that doesn't need a dedicated utility,
but change detection in hierarchical data is very different from change
detection in flat data. XML type formats are also not only used for
computer readable data, it is also often used as a format for hierarchical
data that can be rendered into human readable formats. A traditional diff
on such a format would tell you line by line the differences, but this
would not be readable by a human. xmldiff provides tools to make human
readable diffs in those situations.
'';
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres anpryl ];
};
}
|