1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pkg-config,
7 cython,
8 ffmpeg,
9}:
10
11buildPythonPackage rec {
12 pname = "basswood-av";
13 version = "15.2.1";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "basswood-io";
18 repo = "BasswoodAV";
19 tag = version;
20 hash = "sha256-GWNMPiNk8nSSm45EaRm1Te0PpCNPSYf62WbPYFY/9H8=";
21 };
22
23 build-system = [
24 setuptools
25 cython
26 ];
27
28 nativeBuildInputs = [ pkg-config ];
29
30 buildInputs = [ ffmpeg ];
31
32 pythonImportsCheck = [ "bv" ];
33
34 meta = {
35 description = "Python bindings for ffmpeg libraries";
36 homepage = "https://github.com/basswood-io/BasswoodAV";
37 license = lib.licenses.bsd3;
38 maintainers = with lib.maintainers; [ ];
39 };
40}