Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
897 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchPypi, setuptools, libvlc, substituteAll, pythonOlder}:
buildPythonPackage rec { pname = "python-vlc"; version = "3.0.18122"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-EDm94oeFO0t7Yboi2DdhgyQ094UG2nYt+wYCkb8yiX0="; };
patches = [ # Patch path for VLC (substituteAll { src = ./vlc-paths.patch; libvlcPath="${libvlc}/lib/libvlc.so.5"; }) ];
propagatedBuildInputs = [ setuptools ];
# Module has no tests doCheck = false;
pythonImportsCheck = [ "vlc" ];
meta = with lib; { description = "Python bindings for VLC, the cross-platform multimedia player and framework"; homepage = "https://wiki.videolan.org/PythonBinding"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ tbenst ]; };}