summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/avidtools/default.nix
blob: 8e9196eece0cac133031b328fc4b2275a0afe9df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  lib,
  buildPythonPackage,
  fetchPypi,
  nvdlib,
  poetry-core,
  pydantic,
  pythonOlder,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "avidtools";
  version = "0.2.1";
  pyproject = true;

  disabled = pythonOlder "3.12";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-rYkA/+YfFhrS/WSx+jUWCsXDjp03aMoMiGdXeK3Kf4M=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    nvdlib
    pydantic
    typing-extensions
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "avidtools" ];

  meta = {
    description = "Developer tools for AVID";
    homepage = "https://github.com/avidml/avidtools";
    changelog = "https://github.com/avidml/avidtools/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}