depot/third_party/nixpkgs/pkgs/development/python-modules/avidtools/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

52 lines
853 B
Nix

{ lib
, buildPythonPackage
, datetime
, fetchPypi
, nvdlib
, pydantic
, pythonOlder
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "avidtools";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-2YtX+kUryTwaQ4QvExw5OJ4Rx8JoTzBeC8VSyNEL7OY=";
};
postPatch = ''
sed -i "/'typing'/d" setup.py
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
datetime
nvdlib
pydantic
typing-extensions
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"avidtools"
];
meta = with lib; {
description = "Developer tools for AVID";
homepage = "https://github.com/avidml/avidtools";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}