3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/xmltodict/default.nix

28 lines
527 B
Nix
Raw Normal View History

2017-12-09 13:07:24 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, coverage
, nose
}:
buildPythonPackage rec {
pname = "xmltodict";
2019-02-14 07:37:33 +00:00
version = "0.12.0";
2017-12-09 13:07:24 +00:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:33 +00:00
sha256 = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21";
2017-12-09 13:07:24 +00:00
};
checkInputs = [ coverage nose ];
checkPhase = ''
nosetests
'';
meta = {
description = "Makes working with XML feel like you are working with JSON";
homepage = https://github.com/martinblech/xmltodict;
license = lib.licenses.mit;
};
}