From 6d032bc47a8e6b6c640930d237f5a52a73d9b3e8 Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Fri, 22 Jul 2022 11:45:28 -0700 Subject: [PATCH] Use SRI hashes --- packages/decompiler-mc.nix | 2 +- packages/git-diff-image.nix | 2 +- packages/kmonad.nix | 2 +- packages/mcaselector.nix | 2 +- packages/nbt-explorer.nix | 2 +- packages/zsh-abbr.nix | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/decompiler-mc.nix b/packages/decompiler-mc.nix index ea5bc06..ad0ec23 100644 --- a/packages/decompiler-mc.nix +++ b/packages/decompiler-mc.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { owner = "hube12"; repo = "DecompilerMC"; rev = "ffec115d44c5ec76034b42110610ad6dbc3b75c4"; - sha256 = "sha256-XLeupo3jzA7M6HJ8vZ1Zrt8v5m3gb516RVY0LsITeZA="; + hash = "sha256-XLeupo3jzA7M6HJ8vZ1Zrt8v5m3gb516RVY0LsITeZA="; }; buildInputs = [ makeWrapper python3 ]; diff --git a/packages/git-diff-image.nix b/packages/git-diff-image.nix index a140961..651f646 100644 --- a/packages/git-diff-image.nix +++ b/packages/git-diff-image.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { owner = "ewanmellor"; repo = "git-diff-image"; rev = "8e66316d00ff78270ec09e1388738e30ac43a39d"; - sha256 = "188zjg582qlxmpgnwi57mvjb1y3mc3plk2l6b1hfxin35j6z4p4l"; + hash = "sha256-lFzyjSzDxu5gWIaKSe9gdfiw5K6nRG7frZ1igcqTH6E="; }; buildInputs = [ makeWrapper ]; diff --git a/packages/kmonad.nix b/packages/kmonad.nix index 0b9715e..b1cb527 100644 --- a/packages/kmonad.nix +++ b/packages/kmonad.nix @@ -10,7 +10,7 @@ let owner = "kmonad"; repo = "kmonad"; rev = "7961987123e3cbeb60594123c03bb3a8ad1bc8d9"; - sha256 = "sha256-wNWu+3ADEyGJSHavzx4BZH6kh/tTFbxJ9x3a5Ak8+x0="; + hash = "sha256-wNWu+3ADEyGJSHavzx4BZH6kh/tTFbxJ9x3a5Ak8+x0="; }; drv = pkgs.haskell.lib.addBuildDepends (haskell.lib.justStaticExecutables (haskellPackages.callCabal2nix "kmonad" src { })) diff --git a/packages/mcaselector.nix b/packages/mcaselector.nix index a55bc4a..49bdcff 100644 --- a/packages/mcaselector.nix +++ b/packages/mcaselector.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://github.com/Querz/mcaselector/releases/download/${version}/mcaselector-${version}.jar"; - sha256 = "0vq3wsm657h6iinbji8dsfcz8g6x5vmkl4vdzl5c9s9s99j8imdd"; + hash = "sha256-rdWIZEo66cQK/W0TOusu3Tz0mdMNRblsjAaeYqrmA28="; }; dontUnpack = true; diff --git a/packages/nbt-explorer.nix b/packages/nbt-explorer.nix index 0dc8fdb..95c3eb9 100644 --- a/packages/nbt-explorer.nix +++ b/packages/nbt-explorer.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { src = fetchzip { url = "https://github.com/jaquadro/NBTExplorer/releases/download/v${version}-win/NBTExplorer-${version}.zip"; - sha256 = "09g26q1lamc2pnrqkzihadgkdnylpkq71lnaxxrp0m70xk34nhag"; + hash = "sha256-T0FLxuzgVHBz78rScPC81Ns2X1Mw/omzvYJVRQM24iU="; stripRoot = false; }; diff --git a/packages/zsh-abbr.nix b/packages/zsh-abbr.nix index 13622ec..9469bb8 100644 --- a/packages/zsh-abbr.nix +++ b/packages/zsh-abbr.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation { owner = "olets"; repo = "zsh-abbr"; rev = "f10935fe3b08b990259bede5e481cc392848cae5"; - sha256 = "sha256-X4a1HVuEYChd0pXd45l5UKDItlpRksVQpfwJbiMmSlI="; + hash = "sha256-X4a1HVuEYChd0pXd45l5UKDItlpRksVQpfwJbiMmSlI="; }; dontBuild = true;