yoda: init at 1.6.3

This commit is contained in:
Dmitry Kalinkin 2016-06-11 15:31:32 -04:00
parent 75ed9ac975
commit 571d1111fe
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl, python2Packages, makeWrapper }:
stdenv.mkDerivation rec {
name = "yoda-${version}";
version = "1.6.5";
src = fetchurl {
url = "http://www.hepforge.org/archive/yoda/YODA-${version}.tar.bz2";
sha256 = "1i8lmj63cd3qnxl9k2cb1abap2pirhx7ffinm834wbpy9iszwxql";
};
pythonPath = []; # python wrapper support
buildInputs = with python2Packages; [ python numpy matplotlib makeWrapper ];
enableParallelBuilding = true;
postInstall = ''
for prog in "$out"/bin/*; do
wrapProgram "$prog" --set PYTHONPATH $PYTHONPATH:$(toPythonPath "$out")
done
'';
meta = {
description = "Provides small set of data analysis (specifically histogramming) classes";
license = stdenv.lib.licenses.gpl2;
homepage = https://yoda.hepforge.org;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -16719,6 +16719,8 @@ in
hepmc = callPackage ../development/libraries/physics/hepmc { };
yoda = callPackage ../development/libraries/physics/yoda { };
### MISC
antimicro = qt5.callPackage ../tools/misc/antimicro { };