python312Packages.basswood-av: init at 15.2.1

This commit is contained in:
emaryn
2025-06-03 07:45:01 +08:00
parent d12b3ccedb
commit e5abc74608
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pkg-config,
cython,
ffmpeg,
}:
let
cython' = cython.overrideAttrs (oldAttrs: rec {
version = "3.1.0";
src = oldAttrs.src.override {
tag = version;
hash = "sha256-3/C0+ygGgNvw75ZN02Q70TLFa1U4jVgWQDG5FGWErTg=";
};
});
in
buildPythonPackage rec {
pname = "basswood-av";
version = "15.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "basswood-io";
repo = "BasswoodAV";
tag = version;
hash = "sha256-GWNMPiNk8nSSm45EaRm1Te0PpCNPSYf62WbPYFY/9H8=";
};
build-system = [
setuptools
cython'
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg ];
pythonImportsCheck = [ "bv" ];
meta = {
description = "Python bindings for ffmpeg libraries";
homepage = "https://github.com/basswood-io/BasswoodAV";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ emaryn ];
};
}
+2
View File
@@ -1672,6 +1672,8 @@ self: super: with self; {
basiciw = callPackage ../development/python-modules/basiciw { };
basswood-av = callPackage ../development/python-modules/basswood-av { };
batchgenerators = callPackage ../development/python-modules/batchgenerators { };
batchspawner = callPackage ../development/python-modules/batchspawner { };