1{ lib
2, buildPythonPackage
3, fetchPypi
4, coverage
5, nose
6}:
7
8buildPythonPackage rec {
9 pname = "xmltodict";
10 version = "0.11.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "8f8d7d40aa28d83f4109a7e8aa86e67a4df202d9538be40c0cb1d70da527b0df";
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}