Merge pull request #271831 from zeuner/sgmllib3k

python310Packages.sgmllib3k: fix source access after github repo being …
This commit is contained in:
Rick van Schijndel 2023-12-10 20:26:07 +01:00 committed by GitHub
commit 744bd5f63d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
];