504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
50 lines
817 B
Nix
50 lines
817 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, datetime
|
|
, fetchPypi
|
|
, nvdlib
|
|
, pydantic
|
|
, pythonOlder
|
|
, setuptools
|
|
, typing
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "avidtools";
|
|
version = "0.1.1.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-t+ohPjOBwY8i+g7VC30ehEu6SFIsn1SwGR/ICkV9blg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
datetime
|
|
nvdlib
|
|
pydantic
|
|
typing
|
|
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 ];
|
|
};
|
|
}
|