depot/third_party/nixpkgs/pkgs/development/python-modules/avidtools/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

52 lines
855 B
Nix

{ lib
, buildPythonPackage
, datetime
, fetchPypi
, nvdlib
, pydantic
, pythonOlder
, setuptools
, 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=";
};
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 ];
};
}