Commit 7dd75b83 authored by Emily's avatar Emily
Browse files
parent fdc5d0dc
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -36,25 +36,16 @@

stdenv.mkDerivation rec {
  pname = "chiaki4deck";
  version = "1.7.3";
  version = "1.7.4";

  src = fetchFromGitHub {
    owner = "streetpea";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-NiShxa49ZKmK/3q8+PHwy7edwjaqtkOqfhd2ncWK5UQ=";
    hash = "sha256-9EF+Mm6nZeo3XYH8KO7e22cJ4e9TWUEinhkm+Z213RU=";
    fetchSubmodules = true;
  };

  patches = [
    # Fix build with miniupnpc 2.2.8
    # https://github.com/streetpea/chiaki4deck/pull/355
    (fetchpatch2 {
      url = "https://github.com/streetpea/chiaki4deck/commit/e5806ae39cc6e8632d0f8cccefb5b7ddd458951a.patch?full_index=1";
      hash = "sha256-0oGhymCZkhckJkvP64WNc4aaEzXlXYI84S7Blq7WgVw=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config