Commit 3869cd8e authored by SandaruKasa's avatar SandaruKasa
Browse files
parent 17acc604
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  python3,
  enableModTool ? true,
@@ -10,22 +9,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "volk";
  version = "3.1.2";
  version = "3.2.0";

  src = fetchFromGitHub {
    owner = "gnuradio";
    repo = "volk";
    tag = "v${finalAttrs.version}";
    hash = "sha256-R1FT5sbl0fAAl6YIX5aD5CiQ/AjZkCSDPPQPiuy4WBY=";
    hash = "sha256-9bURoGyjdNoKCcgGvZL9VygQqUQxOrwthp154Was2/s=";
    fetchSubmodules = true;
  };
  patches = [
    # https://github.com/gnuradio/volk/pull/766
    (fetchpatch {
      url = "https://github.com/gnuradio/volk/commit/e46771a739658b5483c25ee1203587bf07468c4d.patch";
      hash = "sha256-33V6lA4Ch50o2E7HPUMQ2NPqHXx/i6FUbz3vIaQa9Wc=";
    })
  ];

  cmakeFlags = [ (lib.cmakeBool "ENABLE_MODTOOL" enableModTool) ];