Unverified Commit 58aaf4cf authored by Guy Chronister's avatar Guy Chronister
Browse files

neothesia: 0.3.1 -> 0.4.0, fix edge case test

parent 58be915c
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -13,18 +13,26 @@
  libxi,
  libxcursor,
  libx11,
  fetchpatch,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "neothesia";
  version = "0.3.1";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "PolyMeilex";
    repo = "Neothesia";
    tag = "v${finalAttrs.version}";
    hash = "sha256-qYwBSye6RYClSlWmHwuy/rxq9w5932tR33Z+o2S1l8k=";
    hash = "sha256-5DuyWuDJ08S12C3OWhC9mLhQvPCfWMdJCRUOWtKq/+k=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/PolyMeilex/Neothesia/commit/c450689134e5e767293ae9a4878a0396e585259b.patch";
      hash = "sha256-A7GuaEHIfSFrvS1SCBWGCuh3rvb2gaaw8dQ970f6u2Y=";
    })
  ];

  buildInputs = [
    ffmpeg_7
    alsa-lib
@@ -36,7 +44,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    rustPlatform.bindgenHook
  ];

  cargoHash = "sha256-mXeNAVYqPsBWiUZFV/atx/xjLgFNarm2HwI7k/NaAbc=";
  cargoHash = "sha256-gX9DlgPgrM8KukX3auxbBKpJq7QG4+kRhHSUk3eQjAQ=";

  cargoBuildFlags = [
    "-p neothesia -p neothesia-cli"