From 90bbb562d316b357325d827f3f0d8fc45be8d9ea Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Wed, 15 May 2024 11:40:11 +0200 Subject: [PATCH] cdemu: use hash instead of sha256 --- pkgs/applications/emulators/cdemu/analyzer.nix | 2 +- pkgs/applications/emulators/cdemu/base.nix | 4 ++-- pkgs/applications/emulators/cdemu/client.nix | 2 +- pkgs/applications/emulators/cdemu/daemon.nix | 2 +- pkgs/applications/emulators/cdemu/gui.nix | 2 +- pkgs/applications/emulators/cdemu/libmirage.nix | 2 +- pkgs/applications/emulators/cdemu/vhba.nix | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/emulators/cdemu/analyzer.nix b/pkgs/applications/emulators/cdemu/analyzer.nix index 719aa87cda43..62288ddc22a4 100644 --- a/pkgs/applications/emulators/cdemu/analyzer.nix +++ b/pkgs/applications/emulators/cdemu/analyzer.nix @@ -3,7 +3,7 @@ callPackage ./base.nix { version = "3.2.6"; pname = "image-analyzer"; - sha256 = "sha256-7I8RUgd+k3cEzskJGbziv1f0/eo5QQXn62wGh/Y5ozc="; + hash = "sha256-7I8RUgd+k3cEzskJGbziv1f0/eo5QQXn62wGh/Y5ozc="; buildInputs = [ glib gtk3 libxml2 gnuplot libmirage gnome.adwaita-icon-theme gdk-pixbuf librsvg python3Packages.pygobject3 python3Packages.matplotlib ]; nativeBuildInputs = [ gobject-introspection cmake wrapGAppsHook3 intltool ]; diff --git a/pkgs/applications/emulators/cdemu/base.nix b/pkgs/applications/emulators/cdemu/base.nix index 0c51883cb66e..5eb0f86ab975 100644 --- a/pkgs/applications/emulators/cdemu/base.nix +++ b/pkgs/applications/emulators/cdemu/base.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, cmake, pkg-config -, pname, version, sha256, buildInputs +, pname, version, hash, buildInputs , nativeBuildInputs ? [ ] , postFixup ? "" , extraDrvParams ? { } @@ -8,7 +8,7 @@ stdenv.mkDerivation ( { inherit pname version buildInputs postFixup; src = fetchurl { url = "mirror://sourceforge/cdemu/${pname}-${version}.tar.xz"; - inherit sha256; + inherit hash; }; nativeBuildInputs = nativeBuildInputs ++ [ pkg-config cmake ]; setSourceRoot = '' diff --git a/pkgs/applications/emulators/cdemu/client.nix b/pkgs/applications/emulators/cdemu/client.nix index f53eaedc5573..9b703335fd55 100644 --- a/pkgs/applications/emulators/cdemu/client.nix +++ b/pkgs/applications/emulators/cdemu/client.nix @@ -2,7 +2,7 @@ callPackage ./base.nix { version = "3.2.5"; pname = "cdemu-client"; - sha256 = "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7"; + hash = "sha256-py2F61v8vO0BCM18GCflAiD48deZjbMM6wqoCDZsOd8="; nativeBuildInputs = [ intltool wrapGAppsNoGuiHook ]; buildInputs = with python3Packages; [ dbus-python pygobject3 ]; postFixup = '' diff --git a/pkgs/applications/emulators/cdemu/daemon.nix b/pkgs/applications/emulators/cdemu/daemon.nix index 19a9cf3954a6..e11f019c906f 100644 --- a/pkgs/applications/emulators/cdemu/daemon.nix +++ b/pkgs/applications/emulators/cdemu/daemon.nix @@ -2,7 +2,7 @@ callPackage ./base.nix { version = "3.2.6"; pname = "cdemu-daemon"; - sha256 = "sha256-puQE4+91xhRuNjVPZYgN/WO0uO8fVAOdxQWOGQ+FfY8="; + hash = "sha256-puQE4+91xhRuNjVPZYgN/WO0uO8fVAOdxQWOGQ+FfY8="; nativeBuildInputs = [ intltool ]; buildInputs = [ glib libao libmirage ]; extraDrvParams.postInstall = '' diff --git a/pkgs/applications/emulators/cdemu/gui.nix b/pkgs/applications/emulators/cdemu/gui.nix index ff07c681a72c..a525783fec32 100644 --- a/pkgs/applications/emulators/cdemu/gui.nix +++ b/pkgs/applications/emulators/cdemu/gui.nix @@ -3,7 +3,7 @@ callPackage ./base.nix { version = "3.2.6"; pname = "gcdemu"; - sha256 = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA="; + hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA="; buildInputs = [ python3Packages.pygobject3 gtk3 glib libnotify gnome.adwaita-icon-theme gdk-pixbuf librsvg ]; nativeBuildInputs = [ cmake wrapGAppsHook3 intltool ]; postFixup = '' diff --git a/pkgs/applications/emulators/cdemu/libmirage.nix b/pkgs/applications/emulators/cdemu/libmirage.nix index bf7dccd399d4..379f1ea5031f 100644 --- a/pkgs/applications/emulators/cdemu/libmirage.nix +++ b/pkgs/applications/emulators/cdemu/libmirage.nix @@ -5,7 +5,7 @@ callPackage ./base.nix { version = "3.2.7"; pname = "libmirage"; - sha256 = "sha256-+okkgNeVS8yoKSrQDy4It7PiPlTSiOsUoFxQ1FS9s9M="; + hash = "sha256-+okkgNeVS8yoKSrQDy4It7PiPlTSiOsUoFxQ1FS9s9M="; buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate ]; extraDrvParams = { PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0"; diff --git a/pkgs/applications/emulators/cdemu/vhba.nix b/pkgs/applications/emulators/cdemu/vhba.nix index 103e4b4b5b89..15b69500f3d2 100644 --- a/pkgs/applications/emulators/cdemu/vhba.nix +++ b/pkgs/applications/emulators/cdemu/vhba.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz"; - sha256 = "sha256-v1hQ1Lj1AiHKh9c0OpKe2oexkfb1roxhQXRUO1ut3oM="; + hash = "sha256-v1hQ1Lj1AiHKh9c0OpKe2oexkfb1roxhQXRUO1ut3oM="; }; makeFlags = kernel.makeFlags ++ [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];