python311Packages.avidtools: drop typing dependency

This release includes a dependency on typing without a constraint on the
python version, but typing became obsolete in Python 3.5, so it does not
exist in nixpkgs.
This commit is contained in:
Martin Weinelt 2023-12-17 23:39:06 +01:00
parent d9796778fb
commit bab5b1cf5a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,7 +6,6 @@
, pydantic , pydantic
, pythonOlder , pythonOlder
, setuptools , setuptools
, typing
, typing-extensions , typing-extensions
}: }:
@ -22,6 +21,10 @@ buildPythonPackage rec {
hash = "sha256-t+ohPjOBwY8i+g7VC30ehEu6SFIsn1SwGR/ICkV9blg="; hash = "sha256-t+ohPjOBwY8i+g7VC30ehEu6SFIsn1SwGR/ICkV9blg=";
}; };
postPatch = ''
sed -i "/'typing'/d" setup.py
'';
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
]; ];
@ -30,7 +33,6 @@ buildPythonPackage rec {
datetime datetime
nvdlib nvdlib
pydantic pydantic
typing
typing-extensions typing-extensions
]; ];