mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
bf218e6cbc
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
38 lines
742 B
Nix
38 lines
742 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, vlc
|
|
, substituteAll
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-vlc";
|
|
version = "3.0.7110";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ydnqwwgpwq1kz1pjrc7629ljzdd30izymjylsbzzyq8pq6wl6w2";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./vlc-paths.patch;
|
|
libvlcPath="${vlc}/lib/libvlc.so.5";
|
|
})
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.videolan.org/PythonBinding";
|
|
maintainers = with maintainers; [ tbenst ];
|
|
description = "Python bindings for VLC, the cross-platform multimedia player and framework";
|
|
license = licenses.lgpl21Plus;
|
|
};
|
|
}
|