Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: SDL2_gfx 1.0.4 -> 1.1.0 https://repology.org/project/sdl2-gfx/versions
attrpath: SDL2_gfx
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
Diff after rewrites:
diff --git a/pkgs/by-name/sd/SDL2_gfx/package.nix b/pkgs/by-name/sd/SDL2_gfx/package.nix
index ba1eebb4773f..b39e10124228 100644
--- a/pkgs/by-name/sd/SDL2_gfx/package.nix
+++ b/pkgs/by-name/sd/SDL2_gfx/package.nix
@@ -12,11 +12,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "SDL2_gfx";
- version = "1.0.4";
+ version = "1.1.0";
src = fetchurl {
url = "http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${finalAttrs.version}.tar.gz";
- hash = "sha256-Y+DgGt3tyd8vhbk6JI8G6KBK/6AUqDXC6jS/405XYmI=";
+ hash = "sha256-mEOSTUbqy6u6aFojnPIoS5SHZqIO8sqkjLGEYqMpXK8=";
};
nativeBuildInputs = [
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `8b63a7e73c0f3bb969970082d549eda657fd4479`
---
### `x86_64-linux`
:x: 21 packages failed to build:
- freedink
- haskellPackages.grid-proto
- haskellPackages.sdl2-gfx
- go-away
- haskellPackages.spade
- idrisPackages.pacman
- jimtcl
- idrisPackages.sdl2
- openocd
- openocd-adi
- openocd-rp2040
- cfclient
- python313Packages.pysdl2
- python314Packages.pysdl2
- python313Packages.vulkan
- python314Packages.vulkan
- python314Packages.pytmx
- tuxpaint
- python313Packages.pytmx
- upscaler
- tinygo
:white_check_mark: 6 packages built:
- freeciv_sdl2
- SDL2_gfx
- hail
- mepo
- tennix
- ultrastardx
Automatic update generated by [nixpkgs-update](https://github.com/NixOS/nixpkgs-update) tools. This update was made based on information from https://repology.org/project/sdl2-gfx/versions.
meta.description for SDL2_gfx is: SDL graphics drawing primitives and support functions
meta.homepage for SDL2_gfx is: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
###### Updates performed
- Version update
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
> [!CAUTION]
> A test defined in `passthru.tests` did not pass.
- found 1.1.0 in filename of file in /nix/store/npbs47447wlvh09cva83xn30v6my4cwg-SDL2_gfx-1.1.0
---
Rebuild report (if merged into master) (click to expand)
```
46 total rebuild path(s)
29 package rebuild(s)
First fifty rebuilds by attrpath
SDL2_gfx
cfclient
freeciv_sdl2
freedink
go-away
hail
haskellPackages.grid-proto
haskellPackages.sdl2-gfx
haskellPackages.spade
idrisPackages.pacman
idrisPackages.sdl2
jimtcl
mepo
openocd
openocd-adi
openocd-rp2040
pkgsRocm.python3Packages.pytmx
python313Packages.pysdl2
python313Packages.pytmx
python313Packages.vulkan
python314Packages.pysdl2
python314Packages.pytmx
python314Packages.vulkan
tennix
tinygo
tuxpaint
ultrastardx
upscaler
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/npbs47447wlvh09cva83xn30v6my4cwg-SDL2_gfx-1.1.0 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nixos.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nixos.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A SDL2_gfx https://github.com/r-ryantm/nixpkgs/archive/8b63a7e73c0f3bb969970082d549eda657fd4479.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/8b63a7e73c0f3bb969970082d549eda657fd4479#SDL2_gfx
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/npbs47447wlvh09cva83xn30v6my4cwg-SDL2_gfx-1.1.0
ls -la /nix/store/npbs47447wlvh09cva83xn30v6my4cwg-SDL2_gfx-1.1.0/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `8b63a7e73c0f3bb969970082d549eda657fd4479`
---
### `x86_64-linux`
:x: 21 packages failed to build:
- freedink
- haskellPackages.grid-proto
- haskellPackages.sdl2-gfx
- go-away
- haskellPackages.spade
- idrisPackages.pacman
- jimtcl
- idrisPackages.sdl2
- openocd
- openocd-adi
- openocd-rp2040
- cfclient
- python313Packages.pysdl2
- python314Packages.pysdl2
- python313Packages.vulkan
- python314Packages.vulkan
- python314Packages.pytmx
- tuxpaint
- python313Packages.pytmx
- upscaler
- tinygo
:white_check_mark: 6 packages built:
- freeciv_sdl2
- SDL2_gfx
- hail
- mepo
- tennix
- ultrastardx
---
###### Maintainer pings
cc @GrimmTheShrimp @marcin-serwin @pbsds @EvysGarden @jansol for [testing](https://github.com/NixOS/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/588995