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

View file

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