depot/third_party/nixpkgs/pkgs/development/python-modules/avidtools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

49 lines
852 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 ];
};
}