Loading pkgs/applications/audio/sublime-music/default.nix +20 −14 Original line number Diff line number Diff line { fetchFromGitLab , lib { lib , fetchFromGitLab , python3Packages , gobject-introspection , gtk3 Loading @@ -9,8 +9,10 @@ , chromecastSupport ? false , serverSupport ? false , keyringSupport ? true , notifySupport ? true, libnotify , networkSupport ? true, networkmanager , notifySupport ? true , libnotify , networkSupport ? true , networkmanager }: python3Packages.buildPythonApplication rec { Loading Loading @@ -38,6 +40,15 @@ python3Packages.buildPythonApplication rec { "python-mpv" ]; postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg # https://github.com/sublime-music/sublime-music/pull/370 # Can be removed in later versions (probably > 0.11.16) substituteInPlace pyproject.toml \ --replace 'python-Levenshtein = "^0.12.0"' 'Levenshtein = ">0.12.0"' ''; buildInputs = [ gtk3 pango Loading @@ -64,11 +75,6 @@ python3Packages.buildPythonApplication rec { ++ lib.optional serverSupport bottle ; postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg ''; # hook for gobject-introspection doesn't like strictDeps # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false; Loading Loading
pkgs/applications/audio/sublime-music/default.nix +20 −14 Original line number Diff line number Diff line { fetchFromGitLab , lib { lib , fetchFromGitLab , python3Packages , gobject-introspection , gtk3 Loading @@ -9,8 +9,10 @@ , chromecastSupport ? false , serverSupport ? false , keyringSupport ? true , notifySupport ? true, libnotify , networkSupport ? true, networkmanager , notifySupport ? true , libnotify , networkSupport ? true , networkmanager }: python3Packages.buildPythonApplication rec { Loading Loading @@ -38,6 +40,15 @@ python3Packages.buildPythonApplication rec { "python-mpv" ]; postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg # https://github.com/sublime-music/sublime-music/pull/370 # Can be removed in later versions (probably > 0.11.16) substituteInPlace pyproject.toml \ --replace 'python-Levenshtein = "^0.12.0"' 'Levenshtein = ">0.12.0"' ''; buildInputs = [ gtk3 pango Loading @@ -64,11 +75,6 @@ python3Packages.buildPythonApplication rec { ++ lib.optional serverSupport bottle ; postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg ''; # hook for gobject-introspection doesn't like strictDeps # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false; Loading