pngout: 20200115 -> 20230322 (#377269)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-14 23:10:24 +01:00
committed by GitHub
+8 -5
View File
@@ -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 ];