evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / dict2xml / default.nix
blobf00a973275cd85a9610829dea8f1bbf0bade2d05
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   hatchling,
7 }:
9 buildPythonPackage rec {
10   pname = "dict2xml";
11   version = "1.7.6";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "delfick";
18     repo = "python-dict2xml";
19     rev = "refs/tags/release-${version}";
20     hash = "sha256-5GnIVpG2xHKYv27sSjjmm8JsZ1YR9Mvc3SqE4SnE84o=";
21   };
23   nativeBuildInputs = [ hatchling ];
25   # Tests are inplemented in a custom DSL (RSpec)
26   doCheck = false;
28   pythonImportsCheck = [ "dict2xml" ];
30   meta = with lib; {
31     description = "Library to convert a Python dictionary into an XML string";
32     homepage = "https://github.com/delfick/python-dict2xml";
33     changelog = "https://github.com/delfick/python-dict2xml/releases/tag/release-${version}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ johnazoidberg ];
36   };