python3Packages.validphys2: init at 4.0
This commit is contained in:
parent
8e24a6db2e
commit
2ca6036b62
37
pkgs/development/python-modules/validphys2/default.nix
Normal file
37
pkgs/development/python-modules/validphys2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user