Skip to content

Commit

Permalink
Merge pull request NixOS#259089 from atorres1985-contrib/xmldiff
Browse files Browse the repository at this point in the history
xmldiff: 2.4 -> 2.6.3
  • Loading branch information
fabianhjr authored Oct 5, 2023
2 parents 6f9c8e0 + 841d183 commit ce3dcb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand All @@ -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 ];
};
}
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit ce3dcb4

Please sign in to comment.