From 12e3046a59f02f0a2bfe88c00b0af4d6284e4ae1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 12 Mar 2021 20:37:30 +0100 Subject: [PATCH] pythonPackages.xmldiff: init at 2.4 --- .../python-modules/xmldiff/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/xmldiff/default.nix diff --git a/pkgs/development/python-modules/xmldiff/default.nix b/pkgs/development/python-modules/xmldiff/default.nix new file mode 100644 index 000000000000..1dfb09147589 --- /dev/null +++ b/pkgs/development/python-modules/xmldiff/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +, lxml +, setuptools +, six +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "xmldiff"; + version = "2.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-Bb6iDOHyyWeGg7zODDupmB+H2StwnRkOAYvL8Efsz2M="; + }; + + propagatedBuildInputs = [ lxml setuptools six ]; + + checkInputs = [ pytestCheckHook ]; + + meta = with lib; { + homepage = "https://github.com/Shoobx/xmldiff"; + description = "Creates diffs of XML files"; + license = licenses.mit; + maintainers = with maintainers; [ sfrijters ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5b991da11f28..259cf9855355 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8850,6 +8850,8 @@ in { xml2rfc = callPackage ../development/python-modules/xml2rfc { }; + xmldiff = callPackage ../development/python-modules/xmldiff { }; + xmljson = callPackage ../development/python-modules/xmljson { }; xmlschema = callPackage ../development/python-modules/xmlschema { };