Gaetan Lepage 2024-02-20 08:01:08 +01:00
parent b618e0b605
commit 7bafc6ade6

View File

@ -1,21 +1,22 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, expecttest
, pytest-timeout
, fetchFromGitHub
, pdm-backend
, huggingface-hub
, pyyaml
, safetensors
, torch
, torchvision
, expecttest
, pytestCheckHook
, pytest-timeout
}:
buildPythonPackage rec {
pname = "timm";
version = "0.9.12";
format = "setuptools";
version = "0.9.16";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,9 +24,13 @@ buildPythonPackage rec {
owner = "huggingface";
repo = "pytorch-image-models";
rev = "refs/tags/v${version}";
hash = "sha256-dDd/Sjy4xmJlaAg+fOxxcuX3FX//uJJkW0q3AaeCfns=";
hash = "sha256-IWEDKuI2565Z07q1MxTpzKS+CROPR6SyaD5fKcQ5eXk=";
};
nativeBuildInputs = [
pdm-backend
];
propagatedBuildInputs = [
huggingface-hub
pyyaml