1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 nvdlib,
6 poetry-core,
7 pydantic,
8 pythonOlder,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "avidtools";
14 version = "0.2.1";
15 pyproject = true;
16
17 disabled = pythonOlder "3.12";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-rYkA/+YfFhrS/WSx+jUWCsXDjp03aMoMiGdXeK3Kf4M=";
22 };
23
24 build-system = [ poetry-core ];
25
26 dependencies = [
27 nvdlib
28 pydantic
29 typing-extensions
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "avidtools" ];
36
37 meta = with lib; {
38 description = "Developer tools for AVID";
39 homepage = "https://github.com/avidml/avidtools";
40 changelog = "https://github.com/avidml/avidtools/releases/tag/${version}";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ fab ];
43 };
44}