From f6ad3df1ecfc972c5a9b13e20369e6d66cd08fd3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Apr 2023 10:00:56 +0200 Subject: [PATCH] python310Packages.et_xmlfile: 1.0.1 -> 1.1 Diff: https://foss.heptapod.net/openpyxl/et_xmlfile/-/compare/1.0.1...1.1 --- .../python-modules/et_xmlfile/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/et_xmlfile/default.nix b/pkgs/development/python-modules/et_xmlfile/default.nix index f09d0042003a..b744d2a693dd 100644 --- a/pkgs/development/python-modules/et_xmlfile/default.nix +++ b/pkgs/development/python-modules/et_xmlfile/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitLab , lxml , pytestCheckHook , pythonOlder @@ -8,15 +8,17 @@ buildPythonPackage rec { pname = "et-xmlfile"; - version = "1.0.1"; + version = "1.1"; format = "setuptools"; disabled = pythonOlder "3.7"; - src = fetchPypi { - pname = "et_xmlfile"; - inherit version; - sha256="0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1"; + src = fetchFromGitLab { + domain = "foss.heptapod.net"; + owner = "openpyxl"; + repo = "et_xmlfile"; + rev = version; + hash = "sha256-MJimcnYKujOL3FedGreNpuw1Jpg48ataDmFd1qwTS5A="; }; nativeCheckInputs = [ @@ -37,9 +39,6 @@ buildPythonPackage rec { allowing code to be developed that will work with both libraries. It was developed initially for the openpyxl project but is now a standalone module. - - The code was written by Elias Rabel as part of the Python - Düsseldorf openpyxl sprint in September 2014. ''; homepage = "https://foss.heptapod.net/openpyxl/et_xmlfile"; license = licenses.mit;