diff --git a/pkgs/by-name/ht/httpstat/package.nix b/pkgs/by-name/ht/httpstat/package.nix index fc9382a891fe..e8790b593fea 100644 --- a/pkgs/by-name/ht/httpstat/package.nix +++ b/pkgs/by-name/ht/httpstat/package.nix @@ -17,9 +17,15 @@ python3Packages.buildPythonApplication (finalAttrs: { sha256 = "sha256-dOHFLw8suvpuZkcKEzq5HktMYBGE7+vtTD609TkAFfw="; }; + # python3.8+ changed AST parsing, so until upstream builds against newer versions this has to do + postPatch = '' + substituteInPlace setup.py --replace-fail \ + "version=get_version()" \ + "version='${finalAttrs.version}'" + ''; + build-system = with python3Packages; [ setuptools ]; - doCheck = false; # No tests buildInputs = [ glibcLocales ]; runtimeDeps = [ curl ];