Commit b48b48ac authored by datafoo's avatar datafoo
Browse files

mosquitto: use `hash` attribute for SRI hashes

See https://nixos.org/manual/nixpkgs/unstable/#fetchfromgithub and
https://nixos.org/manual/nixpkgs/unstable/#sec-pkgs-fetchers-fetchurl-inputs

> It is recommended that you use the hash attribute instead of the other
hash-specific attributes that exist for backwards compatibility.
parent 509bba1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
    owner = "eclipse";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
    hash = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
  };

  patches = lib.optionals stdenv.hostPlatform.isDarwin [