Merge pull request #217993 from fabaff/dict2xml-bump
python310Packages.dict2xml: 1.7.1 -> 1.7.2
This commit is contained in:
@@ -1,21 +1,31 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dict2xml";
|
||||
version = "1.7.1";
|
||||
format = "setuptools";
|
||||
version = "1.7.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "delfick";
|
||||
repo = "python-dict2xml";
|
||||
rev = "refs/tags/release-${version}";
|
||||
hash = "sha256-Ara+eWaUQv4VuzuVrpb5mjMXHHCxydS22glLsYz+UE0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Tests are inplemented in a custom DSL (RSpec)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dict2xml"
|
||||
];
|
||||
@@ -23,6 +33,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
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-${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ johnazoidberg ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user