python310Packages.typecode: remove postPatch section

This commit is contained in:
Fabian Affolter 2023-05-25 13:08:51 +02:00 committed by GitHub
parent b2d73d51d7
commit 5238e82900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,12 +25,6 @@ buildPythonPackage rec {
hash = "sha256-Glc5QiTVr//euymeNTxGN+FVaOEa6cUxHGyGo9bQrJc="; hash = "sha256-Glc5QiTVr//euymeNTxGN+FVaOEa6cUxHGyGo9bQrJc=";
}; };
postPatch = ''
# PEP440 support was removed in newer setuptools, https://github.com/nexB/typecode/pull/31
substituteInPlace setup.cfg \
--replace ">=3.6.*" ">=3.6"
'';
dontConfigure = true; dontConfigure = true;
nativeBuildInputs = [ nativeBuildInputs = [
@ -67,6 +61,6 @@ buildPythonPackage rec {
homepage = "https://github.com/nexB/typecode"; homepage = "https://github.com/nexB/typecode";
changelog = "https://github.com/nexB/typecode/releases/tag/v${version}"; changelog = "https://github.com/nexB/typecode/releases/tag/v${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ ]; maintainers = with maintainers; [ ];
}; };
} }