Unverified Commit c9469426 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

babeltrace2: 2.0.6 -> 2.1.1 (#420904)

parents c3217ec6 47930595
Loading
Loading
Loading
Loading
+2 −21
Original line number Diff line number Diff line
@@ -22,34 +22,15 @@

stdenv.mkDerivation rec {
  pname = "babeltrace2";
  version = "2.0.6";
  version = "2.1.1";

  src = fetchFromGitHub {
    owner = "efficios";
    repo = "babeltrace";
    rev = "v${version}";
    hash = "sha256-L4YTqPxvWynUBnmAQnlJ2RNbEv9MhBxQOsqbWix8ZwU=";
    hash = "sha256-ppSPly4HR/oemsX069o6VqwSB1AU1mKRwRepwPORf7I=";
  };

  patches = [
    # Patches needed for Python 3.12
    (fetchpatch {
      # python: Use standalone 'sysconfig' module
      url = "https://github.com/efficios/babeltrace/commit/452480eb6820df9973d50431a479ca547815ae08.patch";
      hash = "sha256-YgUKHJzdliNUsTY29E0xxcUjqVWn4EvxyTs0B+O+jrI=";
    })
    (fetchpatch {
      # python: replace distutils with setuptools
      url = "https://github.com/efficios/babeltrace/commit/6ec97181a525a3cd64cedbcd0df905ed9e84ba03.patch";
      hash = "sha256-1hlEkPcRUpf2+iEXqHXcCDOaLTg+eaVcahqZlA8m5QY=";
    })
    (fetchpatch {
      # fix: python: monkey patch the proper sysconfig implementation
      url = "https://github.com/efficios/babeltrace/commit/927263e4ea62877af7240cfdb1514ae949dbfc2e.patch";
      hash = "sha256-HNRQ7uw26FUKCQ/my6//OL2xsHdOGlQUq5zIKtg9OGw=";
    })
  ];

  outputs = [
    "out"
    "man"