My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/validphys2/default.nix

37 lines
695 B

{ 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 ];
};
}