Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "xmltodict"; 10 version = "0.13.0"; 11 format = "setuptools"; 12 disabled = pythonOlder "3.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-NBWVpIjj4BqFqdiRHYkS/ZIu3l/sxNzkN+tLbI0DflY="; 17 }; 18 19 nativeCheckInputs = [ 20 pytestCheckHook 21 ]; 22 23 pythonImportsCheck = [ "xmltodict" ]; 24 25 meta = with lib; { 26 description = "Makes working with XML feel like you are working with JSON"; 27 homepage = "https://github.com/martinblech/xmltodict"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ ]; 30 }; 31}