1 { lib, fetchFromGitHub, pythonPackages, opencv3 }:
4 opencv3_ = pythonPackages.toPythonModule (opencv3.override {
5 inherit pythonPackages;
9 in pythonPackages.buildPythonApplication rec {
15 src = fetchFromGitHub {
19 sha256 = "0qzrxqhsxn0h71nfrsi9g78hx3pqm3b8sr6fjq01k4k6dd2nwfam";
22 propagatedBuildInputs = with pythonPackages; [ opencv3_ midiutil pygame pyopengl ];
25 install -Dm755 v2m.py $out/bin/v2m.py
29 description = "Youtube synthesia video to midi conversion tool";
30 homepage = src.meta.homepage;
31 license = licenses.gpl3Only;
33 platforms = platforms.linux;