|
|
@ -3,10 +3,13 @@ |
|
|
|
, fetchFromGitHub |
|
|
|
, fetchFromGitHub |
|
|
|
, isPy27 |
|
|
|
, isPy27 |
|
|
|
, future |
|
|
|
, future |
|
|
|
|
|
|
|
, fsspec |
|
|
|
|
|
|
|
, packaging |
|
|
|
, pytestCheckHook |
|
|
|
, pytestCheckHook |
|
|
|
, pytorch |
|
|
|
, pytorch |
|
|
|
, pyyaml |
|
|
|
, pyyaml |
|
|
|
, tensorboard |
|
|
|
, tensorboard |
|
|
|
|
|
|
|
, torchmetrics |
|
|
|
, tqdm }: |
|
|
|
, tqdm }: |
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
buildPythonPackage rec { |
|
|
@ -22,11 +25,19 @@ buildPythonPackage rec { |
|
|
|
sha256 = "sha256-GP6/VZuRv8dS5wKQW7RbtOSa2vV9Af2Jp+ioEW3bIgc="; |
|
|
|
sha256 = "sha256-GP6/VZuRv8dS5wKQW7RbtOSa2vV9Af2Jp+ioEW3bIgc="; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
|
|
|
|
sed -i '/setuptools==/d' requirements.txt |
|
|
|
|
|
|
|
sed -i 's/pyDeprecate==/pyDeprecate>=/' requirements.txt |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
|
|
|
packaging |
|
|
|
future |
|
|
|
future |
|
|
|
|
|
|
|
fsspec |
|
|
|
pytorch |
|
|
|
pytorch |
|
|
|
pyyaml |
|
|
|
pyyaml |
|
|
|
tensorboard |
|
|
|
tensorboard |
|
|
|
|
|
|
|
torchmetrics |
|
|
|
tqdm |
|
|
|
tqdm |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|