Unverified Commit 49c41315 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

yoda: 1.9.7 -> 1.9.8 (#229376)

parent da48f390
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -11,11 +11,11 @@

stdenv.mkDerivation rec {
  pname = "yoda";
  version = "1.9.7";
  version = "1.9.8";

  src = fetchurl {
    url = "https://www.hepforge.org/archive/yoda/YODA-${version}.tar.bz2";
    hash = "sha256-jQe7BNy3k2SFhxihggNFLY2foAAp+pQjnq+oUpAyuP8=";
    hash = "sha256-e8MGJGirulCv8+y4sizmdxlgNgCYkGiO9FM6qn+S5uQ=";
  };

  nativeBuildInputs = with python.pkgs; [
@@ -41,6 +41,9 @@ stdenv.mkDerivation rec {
  postPatch = ''
    touch pyext/yoda/*.{pyx,pxd}
    patchShebangs .

    substituteInPlace pyext/yoda/plotting/script_generator.py \
      --replace '/usr/bin/env python' '${python.interpreter}'
  '';

  postInstall = ''