From a3a1c578ed462e7c7e7d959059a82d5fff2cccde Mon Sep 17 00:00:00 2001 From: Jonathan del Strother Date: Mon, 27 Jan 2025 09:47:21 +0000 Subject: [PATCH] pngout: 20200115 -> 20230322 This bumps the nix `version` of the package to 20230322, although the linux binary remains unchanged. The 20230322 release just adds aarch64-darwin support to the mac binary. --- pkgs/by-name/pn/pngout/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/pn/pngout/package.nix b/pkgs/by-name/pn/pngout/package.nix index c8a59c29033a..ffe2f663501f 100644 --- a/pkgs/by-name/pn/pngout/package.nix +++ b/pkgs/by-name/pn/pngout/package.nix @@ -7,6 +7,9 @@ let platforms = { + aarch64-darwin = { + folder = "."; + }; aarch64-linux = { folder = "aarch64"; ld-linux = "ld-linux-aarch64.so.1"; @@ -33,22 +36,22 @@ let download = if stdenv.hostPlatform.isDarwin then { - extension = "macos.zip"; - hash = "sha256-MnL6lH7q/BrACG4fFJNfnvoh0JClVeaJIlX+XIj2aG4="; + suffix = "20230322-mac.zip"; + hash = "sha256-Lj63k0UgYECuOg0NDs/prQHZL+UAK4oWdqZWMqVoQOE="; } else { - extension = "linux.tar.gz"; + suffix = "20200115-linux.tar.gz"; hash = "sha256-rDi7pvDeKQM96GZTjDr6ZDQTGbaVu+OI77xf2egw6Sg="; }; in stdenv.mkDerivation rec { pname = "pngout"; - version = "20200115"; + version = "20230322"; src = fetchurl { inherit (download) hash; - url = "http://static.jonof.id.au/dl/kenutils/pngout-${version}-${download.extension}"; + url = "https://www.jonof.id.au/files/kenutils/pngout-${download.suffix}"; }; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ unzip ];