Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 37 lines 755 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, vlc 6, substituteAll 7}: 8 9buildPythonPackage rec { 10 pname = "python-vlc"; 11 version = "3.0.11115"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "a4d3bdddfce84a8fb1b2d5447193a0239c55c16ca246e5194d48efd59c4e236b"; 16 }; 17 18 propagatedBuildInputs = [ 19 setuptools 20 ]; 21 22 patches = [ 23 (substituteAll { 24 src = ./vlc-paths.patch; 25 libvlcPath="${vlc}/lib/libvlc.so.5"; 26 }) 27 ]; 28 29 doCheck = false; # no tests 30 31 meta = with lib; { 32 homepage = "https://wiki.videolan.org/PythonBinding"; 33 maintainers = with maintainers; [ tbenst ]; 34 description = "Python bindings for VLC, the cross-platform multimedia player and framework"; 35 license = licenses.lgpl21Plus; 36 }; 37}