python3Packages.validphys2: init at 4.0

This commit is contained in:
Dmitry Kalinkin 2022-05-13 20:35:43 -04:00 committed by Robert Schütz
parent 8e24a6db2e
commit 2ca6036b62
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, nnpdf
, reportengine
}:
buildPythonPackage rec {
pname = "validphys2";
version = "4.0";
format = "setuptools";
inherit (nnpdf) src;
prePatch = ''
cd validphys2
'';
postPatch = ''
substituteInPlace src/validphys/version.py \
--replace '= __give_git()' '= "${version}"'
'';
propagatedBuildInputs = [
nnpdf
reportengine
];
doCheck = false; # no tests
pythonImportsCheck = [ "validphys" ];
meta = with lib; {
description = "NNPDF analysis framework";
homepage = "https://data.nnpdf.science/validphys-docs/guide.html";
inherit (nnpdf.meta) license;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@ -33171,6 +33171,8 @@ with pkgs;
shtns = callPackage ../applications/science/physics/shtns { };
validphys2 = with python3Packages; toPythonApplication validphys2;
xfitter = callPackage ../applications/science/physics/xfitter {};
xflr5 = libsForQt5.callPackage ../applications/science/physics/xflr5 { };

View File

@ -10776,6 +10776,8 @@ in {
validobj = callPackage ../development/python-modules/validobj { };
validphys2 = callPackage ../development/python-modules/validphys2 { };
vallox-websocket-api = callPackage ../development/python-modules/vallox-websocket-api { };
variants = callPackage ../development/python-modules/variants { };