depot/third_party/nixpkgs/pkgs/development/python-modules/python-vlc/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

37 lines
761 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, libvlc
, substituteAll
}:
buildPythonPackage rec {
pname = "python-vlc";
version = "3.0.11115";
src = fetchPypi {
inherit pname version;
sha256 = "a4d3bdddfce84a8fb1b2d5447193a0239c55c16ca246e5194d48efd59c4e236b";
};
propagatedBuildInputs = [
setuptools
];
patches = [
(substituteAll {
src = ./vlc-paths.patch;
libvlcPath="${libvlc}/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;
};
}