{ lib, python3, fetchFromGitHub }: python3.pkgs.buildPythonApplication { pname = "loxodo"; version = "unstable-2021-02-08"; src = fetchFromGitHub { owner = "sommer"; repo = "loxodo"; rev = "7add982135545817e9b3e2bbd0d27a2763866133"; sha256 = "1cips4pvrqga8q1ibs23vjrf8dwan860x8jvjmc52h6qvvvv60yl"; }; patches = [ ./wxpython.patch ]; propagatedBuildInputs = with python3.pkgs; [ six wxPython_4_2 ]; postInstall = '' mv $out/bin/loxodo.py $out/bin/loxodo mkdir -p $out/share/applications cat > $out/share/applications/loxodo.desktop <