python310Packages.pymedio: remove postPatch section

This commit is contained in:
Fabian Affolter 2023-06-09 09:55:50 +02:00 committed by GitHub
parent 3bf1d1f666
commit 0a91f28138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@
buildPythonPackage rec {
pname = "pymedio";
version = "0.2.14";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
@ -22,11 +24,6 @@ buildPythonPackage rec {
hash = "sha256-x3CHoWASDrUoCXfj73NF+0Y/3Mb31dK2Lh+o4OD9ryk=";
};
# relax Python dep to work with 3.10.x and 3.11.x
postPatch = ''
substituteInPlace setup.cfg --replace "!=3.10.*," "" --replace "!=3.11.*" ""
'';
propagatedBuildInputs = [
numpy
];