Merge pull request #259089 from atorres1985-contrib/xmldiff

xmldiff: 2.4 -> 2.6.3
This commit is contained in:
Fabián Heredia Montiel 2023-10-05 17:50:33 -06:00 committed by GitHub
commit ce3dcb4526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 17 deletions

View file

@ -1,29 +1,27 @@
{ lib
, buildPythonApplication
, python3
, fetchFromGitHub
, lxml
, setuptools
, six
}:
buildPythonApplication rec {
pname = "xmldiff";
version = "2.4";
let
version = "2.6.3";
src = fetchFromGitHub {
owner = "Shoobx";
repo = pname;
repo = "xmldiff";
rev = version;
hash = "sha256-xqudHYfwOce2C0pcFzId0JDIIC6R5bllmVKsH+CvTdE=";
hash = "sha256-qn8gGultTSNKPUro6Ap4xJGcbpxV+lKgZFpKvyPdhtc=";
};
in
python3.pkgs.buildPythonApplication {
pname = "xmldiff";
inherit version src;
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
lxml
setuptools
six
];
meta = with lib; {
meta = {
homepage = "https://xmldiff.readthedocs.io/en/stable/";
description = "A library and command line utility for diffing xml";
longDescription = ''
@ -37,7 +35,7 @@ buildPythonApplication rec {
would not be be readable by a human. xmldiff provides tools to make human
readable diffs in those situations.
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres anpryl ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres anpryl ];
};
}

View file

@ -15032,8 +15032,6 @@ with pkgs;
xml2 = callPackage ../tools/text/xml/xml2 { };
xmldiff = python3Packages.callPackage ../tools/text/xml/xmldiff { };
xmlformat = callPackage ../tools/text/xml/xmlformat { };
xmlroff = callPackage ../tools/typesetting/xmlroff { };