17 buildPythonPackage rec {
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
25 owner = "arogozhnikov";
28 hash = "sha256-n4R4lcRimuOncisCTs2zJWPlqZ+W2yPkvkWAnx4R91s=";
35 # mxnet (has issues with some CPUs, segfault)
48 export HOME=$(mktemp -d);
51 pythonImportsCheck = [
56 # Tests are failing as mxnet is not pulled-in
57 # https://github.com/NixOS/nixpkgs/issues/174872
59 "test_dl_notebook_with_all_backends"
60 "test_backends_installed"
64 "tests/test_layers.py"
68 description = "Flexible and powerful tensor operations for readable and reliable code";
69 homepage = "https://github.com/arogozhnikov/einops";
70 license = licenses.mit;
71 maintainers = with maintainers; [ yl3dy ];