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:
parent
d9796778fb
commit
bab5b1cf5a
1 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
, pydantic
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, typing
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
|
@ -22,6 +21,10 @@ buildPythonPackage rec {
|
|||
hash = "sha256-t+ohPjOBwY8i+g7VC30ehEu6SFIsn1SwGR/ICkV9blg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/'typing'/d" setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
@ -30,7 +33,6 @@ buildPythonPackage rec {
|
|||
datetime
|
||||
nvdlib
|
||||
pydantic
|
||||
typing
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue