22 buildPythonPackage rec {
30 inherit pname version;
31 hash = "sha256-kaKqMdib2QsO/f5KfoQmTzKCiyq/yfOOZeBBrXb+yK4=";
35 # https://gitlab.com/ase/ase/-/merge_requests/3400
37 name = "numpy_2-compatibility.patch";
38 url = "https://gitlab.com/ase/ase/-/commit/5434193ad9dd2cb20a76b3d503fa2b50d7a8ed34.patch";
39 excludes = [ "pyproject.toml" ];
40 hash = "sha256-3hsyzYnFCrlZDT/jqJKKvj2UXjnjLU0U6PJqgOpA7CU=";
44 build-system = [ setuptools ];
55 ++ lib.optionals stdenv.hostPlatform.isDarwin [
66 "test_fundamental_params"
67 "test_ase_bandstructure"
71 "test_vibrations_methods" # missing attribute
72 "test_jmol_roundtrip" # missing attribute
73 "test_pw_input_write_nested_flat" # Did not raise DeprecationWarning
74 "test_fix_scaled" # Did not raise UserWarning
75 ] ++ lib.optionals (pythonAtLeast "3.12") [ "test_info_calculators" ];
78 export PATH="$out/bin:$PATH"
81 pythonImportsCheck = [ "ase" ];
84 description = "Atomic Simulation Environment";
85 homepage = "https://wiki.fysik.dtu.dk/ase/";
86 license = licenses.lgpl21Plus;