pythonPackages.untangle: init at 1.1.1

This commit is contained in:
Farkas, Arnold 2020-01-27 04:39:40 -05:00 committed by Jon
parent 60c4596dcb
commit c416e032d5
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, python }:
buildPythonPackage rec {
pname = "untangle";
version = "1.1.1";
src = fetchFromGitHub {
owner = "stchris";
repo = "untangle";
# 1.1.1 is not tagged on GitHub
rev = "61b57cd771a40df7d1621e9ec3c68d9acd733d31";
sha256 = "0ffvlfyyl82xi4akz1lls32lrnlrn44ik41v8x8xh9ghy0n0ick7";
};
checkPhase = ''
${python.interpreter} -m unittest discover -s tests
'';
meta = with lib; {
description = "Convert XML documents into Python objects";
homepage = "http://github.com/stchris/untangle";
license = licenses.mit;
maintainers = [ maintainers.arnoldfarkas ];
};
}

View file

@ -6115,6 +6115,8 @@ in {
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
untangle = callPackage ../development/python-modules/untangle { };
traceback2 = callPackage ../development/python-modules/traceback2 { };
trackpy = callPackage ../development/python-modules/trackpy { };