Skip to content

Commit

Permalink
easyabc: pin wxPython
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed Jul 16, 2023
1 parent 664361e commit f0c012c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pkgs/applications/audio/easyabc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, substituteAll, makeWrapper, python39, fluidsynth, soundfont-fluid, wrapGAppsHook, abcmidi, abcm2ps, ghostscript }:
{ lib, fetchFromGitHub, fetchPypi, substituteAll, makeWrapper, python39, fluidsynth, soundfont-fluid, wrapGAppsHook, abcmidi, abcm2ps, ghostscript }:

# requires python39 due to https://stackoverflow.com/a/71902541 https://github.com/jwdj/EasyABC/issues/52
python39.pkgs.buildPythonApplication {
Expand All @@ -16,8 +16,18 @@ python39.pkgs.buildPythonApplication {

propagatedBuildInputs = with python39.pkgs; [
cx_Freeze
wxPython_4_2
pygame

# currently broken with 4.2.1
# https://github.com/jwdj/EasyABC/issues/75
(wxPython_4_2.overrideAttrs (args: rec {
version = "4.2.0";
src = fetchPypi {
inherit version;
pname = "wxPython";
hash = "sha256-ZjzrxFCdfl0RNRiGX+J093+VQ0xdV7w4btWNZc7thsc=";
};
}))
];

# apparently setup.py only supports Windows and Darwin
Expand Down

0 comments on commit f0c012c

Please sign in to comment.