Commit c37a685e authored by Isidor Zeuner's avatar Isidor Zeuner
Browse files

python310Packages.sgmllib3k: fix source access after github repo being deleted

parent 4c035af9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{ 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"
  ];