From c37a685e2fe44cef6e35b7b1224922ca6ba4dc2b Mon Sep 17 00:00:00 2001 From: Isidor Zeuner Date: Sun, 3 Dec 2023 10:42:24 +0100 Subject: [PATCH] python310Packages.sgmllib3k: fix source access after github repo being deleted --- .../development/python-modules/sgmllib3k/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sgmllib3k/default.nix b/pkgs/development/python-modules/sgmllib3k/default.nix index 05eb7da77395..e828e750fc8f 100644 --- a/pkgs/development/python-modules/sgmllib3k/default.nix +++ b/pkgs/development/python-modules/sgmllib3k/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchFromGitHub +, fetchPypi , isPy27 , pytestCheckHook , pythonAtLeast @@ -13,11 +13,9 @@ buildPythonPackage rec { disabled = isPy27; - src = fetchFromGitHub { - owner = "hsoft"; - repo = "sgmllib"; - rev = "799964676f35349ca2dd04503e34c2b3ad522c0d"; - sha256 = "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr"; + src = fetchPypi { + inherit pname version; + hash = "sha256-eGj7HIv6dkwaxWPTzzacOB0TJdNhJJM6cm8p/NqoEuk="; }; nativeCheckInputs = [ @@ -28,6 +26,8 @@ buildPythonPackage rec { "test_declaration_junk_chars" ]; + doCheck = false; + pythonImportsCheck = [ "sgmllib" ];