lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 35 lines 856 B view raw
1{ lib, fetchFromGitHub, pythonPackages, opencv4 }: 2 3let 4 opencv4_ = pythonPackages.toPythonModule (opencv4.override { 5 inherit pythonPackages; 6 enablePython = true; 7 enableFfmpeg = true; 8 }); 9in pythonPackages.buildPythonApplication rec { 10 pname = "video2midi"; 11 version = "0.4.6.5"; 12 13 format = "other"; 14 15 src = fetchFromGitHub { 16 owner = "svsdval"; 17 repo = pname; 18 rev = version; 19 sha256 = "0qzrxqhsxn0h71nfrsi9g78hx3pqm3b8sr6fjq01k4k6dd2nwfam"; 20 }; 21 22 propagatedBuildInputs = with pythonPackages; [ opencv4_ midiutil pygame pyopengl ]; 23 24 installPhase = '' 25 install -Dm755 v2m.py $out/bin/v2m.py 26 ''; 27 28 meta = with lib; { 29 description = "Youtube synthesia video to midi conversion tool"; 30 homepage = src.meta.homepage; 31 license = licenses.gpl3Only; 32 maintainers = [ ]; 33 platforms = platforms.linux; 34 }; 35}