python3Packages.n3fit: drop

This commit is contained in:
Sigmanificient
2024-08-21 01:00:03 +02:00
parent 83d7278d8f
commit b02dc5f58a
3 changed files with 1 additions and 53 deletions

View File

@@ -1,51 +0,0 @@
{
lib,
buildPythonPackage,
hyperopt,
keras,
nnpdf,
psutil,
tensorflow,
validphys2,
}:
buildPythonPackage rec {
pname = "n3fit";
version = "4.0";
format = "setuptools";
inherit (nnpdf) src;
prePatch = ''
cd n3fit
'';
postPatch = ''
substituteInPlace src/n3fit/version.py \
--replace '= __give_git()' '= "'$version'"'
'';
propagatedBuildInputs = [
hyperopt
keras
psutil
tensorflow
validphys2
];
postInstall = ''
for prog in "$out"/bin/*; do
wrapProgram "$prog" --set PYTHONPATH "$PYTHONPATH:$(toPythonPath "$out")"
done
'';
doCheck = false; # no tests
pythonImportsCheck = [ "n3fit" ];
meta = with lib; {
description = "NNPDF fitting framework";
homepage = "https://docs.nnpdf.science";
inherit (nnpdf.meta) license;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@@ -327,6 +327,7 @@ mapAliases ({
mrkd = throw "mrkd has been promoted to a top-level attribute name: `pkgs.mrkd`"; # added 2023-08-01
multi_key_dict = multi-key-dict; # added 2023-11-05
mutmut = throw "mutmut has been promoted to a top-level attribute name: `pkgs.mutmut`"; # added 2022-10-02
n3fit = throw "n3fit has been removed since it relies on a dependency that was removed"; # added 2024-08-24
nbmerge = throw "nbmerge has moved to pkgs.nbmerge"; # added 2024-07-05
net2grid = gridnet; # add 2022-04-22
nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08

View File

@@ -8934,8 +8934,6 @@ self: super: with self; {
myuplink = callPackage ../development/python-modules/myuplink { };
n3fit = callPackage ../development/python-modules/n3fit { };
nad-receiver = callPackage ../development/python-modules/nad-receiver { };
nagiosplugin = callPackage ../development/python-modules/nagiosplugin { };