10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-gcl8RxCD017FP4LtB60WVtOh7jg2Otv/vNd9hKneEAU=";
24 propagatedBuildInputs = [
34 # Skip as it downloads pretrained weights (require network access)
35 "test_eval_order_doesnt_matter"
36 # AssertionError in output
40 pythonImportsCheck = [
45 description = "API to visualize pytorch models";
46 homepage = "https://github.com/TylerYep/torchinfo";
47 license = licenses.mit;
48 maintainers = with maintainers; [ petterstorvik ];