Commit 3306e56e authored by OPNA2608's avatar OPNA2608
Browse files

fmtoy: 0-unstable-2024-06-07 -> 0-unstable-2024-06-11

parent 7f470e29
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, unstableGitUpdater
, alsa-lib
, cmake
, libjack2
, pkg-config
, zlib
@@ -10,24 +11,25 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "fmtoy";
  version = "0-unstable-2024-06-07";
  version = "0-unstable-2024-06-11";

  src = fetchFromGitHub {
    owner = "vampirefrog";
    repo = "fmtoy";
    rev = "1339600e2f5a4357f7a50f5c6ad49f3c7635adec";
    hash = "sha256-1kjUPEklZyue/DYn0jSfmXLjF22C+im6klY+S5KCvhc=";
    rev = "17d69350dcd7e2834e69f65420e5e3a8328b7e18";
    fetchSubmodules = true;
    hash = "sha256-to842vUWEWGSQkD09Q22whrdtZpbSlwaY5LSS208sP8=";
  };

  postPatch = ''
    substituteInPlace Makefile \
      --replace 'pkg-config' "$PKG_CONFIG"
      --replace-fail 'pkg-config' "$PKG_CONFIG"
  '';

  strictDeps = true;

  nativeBuildInputs = [
    cmake
    pkg-config
  ];

@@ -37,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
    zlib
  ];

  dontUseCmakeConfigure = true;

  enableParallelBuilding = true;

  buildFlags = [