python3.pkgs.pygame_sdl2: Remove build tag

This commit is contained in:
夜坂雅 2023-05-06 09:39:59 +08:00
parent 0d8145a5d8
commit 18528304b2
No known key found for this signature in database
GPG key ID: A24CE3ACA80FD3E4

View file

@ -17,6 +17,11 @@ buildPythonPackage rec {
rm -rf gen gen3 rm -rf gen gen3
''; '';
# Remove build tag which produces invaild version
postPatch = ''
sed -i '2d' setup.cfg
'';
nativeBuildInputs = [ nativeBuildInputs = [
SDL2.dev cython SDL2.dev cython
]; ];