1 { lib, buildPythonPackage, fetchFromGitHub, unittestCheckHook, defusedxml }:
3 buildPythonPackage rec {
7 src = fetchFromGitHub {
10 # 1.1.1 is not tagged on GitHub
11 rev = "refs/tags/${version}";
12 sha256 = "sha256-cJkN8vT5hW5hRuLxr/6udwMO4GVH1pJhAc6qmPO2EEI=";
15 propagatedBuildInputs = [
19 checkInputs = [ unittestCheckHook ];
21 unittestFlagsArray = [ "-s" "tests" ];
24 description = "Convert XML documents into Python objects";
25 homepage = "https://github.com/stchris/untangle";
26 license = licenses.mit;
27 maintainers = [ maintainers.arnoldfarkas ];