From 31a0f937839893562111fbf0dde09425bce589ac Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 4 Apr 2017 22:47:26 -0400 Subject: [PATCH] yoda: apply patches from tip --- pkgs/development/libraries/physics/yoda/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/physics/yoda/default.nix b/pkgs/development/libraries/physics/yoda/default.nix index 46e2580bd0c3..e6d0f3c500ea 100644 --- a/pkgs/development/libraries/physics/yoda/default.nix +++ b/pkgs/development/libraries/physics/yoda/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, python2Packages, root, makeWrapper, withRootSupport ? false }: +{ stdenv, fetchurl, fetchpatch, python2Packages, root, makeWrapper, withRootSupport ? false }: stdenv.mkDerivation rec { name = "yoda-${version}"; @@ -11,6 +11,17 @@ stdenv.mkDerivation rec { pythonPath = []; # python wrapper support + patches = [ + (fetchpatch { + url = "https://yoda.hepforge.org/hg/yoda/rev/3dbc8927e715?style=raw"; + sha256 = "02rm34z9lbab66p7gpij12qwdph5fddpksg80qz0m537wjwy2ddy"; + }) + (fetchpatch { + url = "https://yoda.hepforge.org/hg/yoda/rev/669c2be582ef?style=raw"; + sha256 = "0s705cl3bazpvpvy46vv1k223knwxq2yy5na1c6lv217sq9w86wj"; + }) + ]; + buildInputs = with python2Packages; [ python numpy matplotlib makeWrapper ] ++ stdenv.lib.optional withRootSupport root;