nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 34 lines 771 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "xmltodict"; 11 version = "1.0.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "martinblech"; 16 repo = "xmltodict"; 17 tag = "v${version}"; 18 hash = "sha256-gnTNkh0GLfRmjMsLhfvpNrewfinNOhem0i3wzIZvKpA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "xmltodict" ]; 26 27 meta = { 28 description = "Makes working with XML feel like you are working with JSON"; 29 homepage = "https://github.com/martinblech/xmltodict"; 30 changelog = "https://github.com/martinblech/xmltodict/blob/${src.tag}/CHANGELOG.md"; 31 license = lib.licenses.mit; 32 maintainers = [ ]; 33 }; 34}