mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 06:06:32 +01:00
https://github.com/delfick/python-dict2xml/releases/tag/release-release-1.7.8 This commit was automatically generated using update-python-libraries.
34 lines
830 B
Nix
34 lines
830 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dict2xml";
|
|
version = "1.7.8";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "delfick";
|
|
repo = "python-dict2xml";
|
|
tag = "release-${version}";
|
|
hash = "sha256-wCspFcqn6uAvecxx4Agzg7N3ps82mg8ukmmGwhfgajk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
# Tests are implemented in a custom DSL (RSpec)
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dict2xml" ];
|
|
|
|
meta = {
|
|
description = "Library to convert a Python dictionary into an XML string";
|
|
homepage = "https://github.com/delfick/python-dict2xml";
|
|
changelog = "https://github.com/delfick/python-dict2xml/releases/tag/release-${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ johnazoidberg ];
|
|
};
|
|
}
|