blob: 5ffae301df62dc329d9863c4d36c1c2239247c67 (
plain)
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,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
hatch-fancy-pypi-readme,
# dependencies
lxml,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "yaxmldiff";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "latk";
repo = "yaxmldiff.py";
tag = "v${finalAttrs.version}";
hash = "sha256-AOXnK1d+b/ae50ofBfgxiDS6Dj6TIeHMrE9ME95Yj1Q=";
};
build-system = [
hatchling
hatch-fancy-pypi-readme
];
dependencies = [ lxml ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Yet Another XML Differ";
homepage = "https://github.com/latk/yaxmldiff.py";
changelog = "https://https://github.com/latk/yaxmldiff.py/blob/v${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sigmanificient ];
};
})
|