diff --git a/pkgs/by-name/ta/tauon/install_mode_true.patch b/pkgs/by-name/ta/tauon/install_mode_true.patch deleted file mode 100644 index e4510e9d2ee1..000000000000 --- a/pkgs/by-name/ta/tauon/install_mode_true.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/tauon/__main__.py b/src/tauon/__main__.py -index 04691586..e48afa02 100755 ---- a/src/tauon/__main__.py -+++ b/src/tauon/__main__.py -@@ -115,8 +115,8 @@ def transfer_args_and_exit() -> None: - if "--no-start" in sys.argv: - transfer_args_and_exit() - --# If we're installed, use home data locations --install_mode = bool(str(install_directory).startswith(("/opt/", "/usr/", "/app/", "/snap/")) or sys.platform in ("darwin", "win32")) -+# Nixpkgs install, use home data dirs. -+install_mode = True - - # Assume that it's a classic Linux install, use standard paths - if str(install_directory).startswith("/usr/") and Path("/usr/share/TauonMusicBox").is_dir(): diff --git a/pkgs/by-name/ta/tauon/package.nix b/pkgs/by-name/ta/tauon/package.nix index d302aa1650b2..bdbf27dc97c0 100644 --- a/pkgs/by-name/ta/tauon/package.nix +++ b/pkgs/by-name/ta/tauon/package.nix @@ -48,14 +48,14 @@ let in python3Packages.buildPythonApplication rec { pname = "tauon"; - version = "8.0.1"; + version = "8.1.4"; pyproject = true; src = fetchFromGitHub { owner = "Taiko2k"; repo = "Tauon"; tag = "v${version}"; - hash = "sha256-m94/zdlJu/u/dchIXhqB47bkl6Uej2hVr8R6RNg8Vaw="; + hash = "sha256-AV8B09H/25+2ZOoGux2/A4xP8sBBpRP197JYkS9/awk="; }; postUnpack = '' @@ -66,10 +66,6 @@ python3Packages.buildPythonApplication rec { ln -s ${miniaudio.src} source/src/phazor/miniaudio ''; - patches = [ - ./install_mode_true.patch - ]; - postPatch = '' substituteInPlace src/tauon/t_modules/t_phazor.py \ --replace-fail 'base_path = Path(pctl.install_directory).parent.parent / "build"' 'base_path = Path("${placeholder "out"}/${python3Packages.python.sitePackages}")' diff --git a/pkgs/development/python-modules/pysdl3/default.nix b/pkgs/development/python-modules/pysdl3/default.nix index 747458a05187..3df4aab1fd9d 100644 --- a/pkgs/development/python-modules/pysdl3/default.nix +++ b/pkgs/development/python-modules/pysdl3/default.nix @@ -19,18 +19,18 @@ let dochash = if stdenv.hostPlatform.isLinux then - "sha256-+1zLd308zL+m68kLMeOWWxT0wYDgCd6g9cc2hEtaeUs=" + "sha256-d2YQUBWRlDROwiDMJ5mQAR9o+cYsbv1jiulsr1SAaik=" else if stdenv.hostPlatform.isDarwin then - "sha256-2uB9+ABgv5O376LyHb0ShGjM4LHYzMRMxk/k+1LBmv0=" + "sha256-eIzTsn4wYz7TEyWN8QssM7fxpMfz/ENlxDVUMz0Cm4c=" else if stdenv.hostPlatform.isWindows then - "sha256-46bQSPYctycizf2GXichd5V74LjxwIAPhBmklXAJ/Jg=" + "sha256-+iagR5jvpHi8WDh4/DO+GDP6jajEpZ6G1ROhM+zkSiw=" else throw "PySDL3 does not support ${stdenv.hostPlatform.uname.system}"; lib_ext = stdenv.hostPlatform.extensions.sharedLibrary; in buildPythonPackage rec { pname = "pysdl3"; - version = "0.9.8b1"; + version = "0.9.8b9"; pyproject = true; pythonImportsCheck = [ "sdl3" ]; @@ -39,7 +39,7 @@ buildPythonPackage rec { owner = "Aermoss"; repo = "PySDL3"; tag = "v${version}"; - hash = "sha256-FVUCcqKTq6qdNkYHTYFiUxt2HIaNC5LK0BEUfz8Mue8="; + hash = "sha256-TpfMpp8CGb8lYALCWlMtyucxObDg1VYEvBW+mVHN9JM="; }; docfile = fetchurl {