1{ lib
2, buildPythonPackage
3, fetchPypi
4, coverage
5, nose
6}:
7
8buildPythonPackage rec {
9 pname = "xmltodict";
10 version = "0.12.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21";
15 };
16
17 checkInputs = [ coverage nose ];
18
19 checkPhase = ''
20 nosetests
21 '';
22
23 meta = {
24 description = "Makes working with XML feel like you are working with JSON";
25 homepage = "https://github.com/martinblech/xmltodict";
26 license = lib.licenses.mit;
27 };
28}