Unverified Commit 840d462a authored by Markus Kowalewski's avatar Markus Kowalewski
Browse files

abracadabra: 3.0.0 -> 3.1.0

parent 76ad8f2c
Loading
Loading
Loading
Loading
+17 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  qt6,
  faad2,
@@ -15,15 +16,29 @@

stdenv.mkDerivation rec {
  pname = "abracadabra";
  version = "3.0.0";
  version = "3.1.0";

  src = fetchFromGitHub {
    owner = "KejPi";
    repo = "AbracaDABra";
    rev = "v${version}";
    hash = "sha256-yCjMinDCoBTOC5Ks4MUd0MQeitfrIe8bI3Q4ahz36kQ=";
    hash = "sha256-kH84xDK1873ekxIYlOw6M3kVH+Sm/Sofb3AAbs4XzE0=";
  };

  patches = [
    # upstream patches, remove with next upgrade
    (fetchpatch {
      name = "no-qcustomplot";
      url = "https://github.com/KejPi/AbracaDABra/commit/b0800cfe7abebf79f1edb915b3cf55fe96129017.patch";
      hash = "sha256-8FiXix/riLvkxd2uTJCoUESInPiCsF6B+qaxRGbeUcs=";
    })
    (fetchpatch {
      name = "fix-missing-include";
      url = "https://github.com/KejPi/AbracaDABra/commit/8f88a3351fccea93c3c83bbfa94e98fb0823b0ae.patch";
      hash = "sha256-9AloBgpUuewUBGM/NTHYUqd0uctJ17QJ0GA5RJN1GLQ=";
    })
  ];

  nativeBuildInputs = [
    cmake
    qt6.wrapQtAppsHook