blob: ce09a610ef29608f271ffd26e37fc6358405074c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
libvlc,
replaceVars,
pythonOlder,
}:
buildPythonPackage rec {
pname = "python-vlc";
version = "3.0.21203";
pyproject = true;
src = fetchPypi {
pname = "python_vlc";
inherit version;
hash = "sha256-UtBUSydrEeWLbAt0jD4FGPlPdLG0zTKMg6WerKvq0ew=";
};
patches = [
# Patch path for VLC
(replaceVars ./vlc-paths.patch {
libvlc = "${libvlc}/lib/libvlc.so.5";
})
];
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "vlc" ];
meta = {
description = "Python bindings for VLC, the cross-platform multimedia player and framework";
homepage = "https://wiki.videolan.org/PythonBinding";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ tbenst ];
};
}
|