SDL2_image_2_6: migrate to by-name

This commit is contained in:
Anderson Torres 2024-06-07 11:43:47 -03:00
parent 108d37991f
commit cea3c9fbe5
2 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,15 @@
# Dependency for hedgewars:
# https://github.com/NixOS/nixpkgs/pull/274185#issuecomment-1856764786
{
lib,
SDL2_image,
fetchurl,
}:
SDL2_image.overrideAttrs (oldAttrs: {
version = "2.6.3";
src = fetchurl {
inherit (oldAttrs.src) url;
hash = "sha256-kxyb5b8dfI+um33BV4KLfu6HTiPH8ktEun7/a0g2MSw=";
};
})

View File

@ -23980,16 +23980,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
};
# Pinned for hedgewars:
# https://github.com/NixOS/nixpkgs/pull/274185#issuecomment-1856764786
SDL2_image_2_6 = SDL2_image.overrideAttrs (oldAttrs: {
version = "2.6.3";
src = fetchurl {
inherit (oldAttrs.src) url;
hash = "sha256-kxyb5b8dfI+um33BV4KLfu6HTiPH8ktEun7/a0g2MSw=";
};
});
sdrplay = callPackage ../applications/radio/sdrplay { };
sdr-j-fm = libsForQt5.callPackage ../applications/radio/sdr-j-fm { };