Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, stdenv, fetchFromGitLab, buildPythonPackage, isPy27, fetchPypi, pythonAtLeast,
# build-system setuptools,
# dependencies flask, matplotlib, numpy, pillow, psycopg2, scipy, tkinter,
# tests addBinToPathHook, pytestCheckHook, pytest-mock, pytest-xdist, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "ase"; version = "3.25.0-unstable-2025-06-24"; pyproject = true;
src = fetchFromGitLab { owner = "ase"; repo = "ase"; rev = "4e22dabfbe7ae2329e50260ca1b6f08a83527ac3"; hash = "sha256-ehMyVtPxfTxT8T418VyLGnUEyYip4LPTTaGL0va7qgM="; };
build-system = [ setuptools ];
dependencies = [ flask matplotlib numpy pillow psycopg2 scipy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ tkinter ];
nativeCheckInputs = [ addBinToPathHook pytestCheckHook pytest-mock pytest-xdist writableTmpDirAsHomeHook ];
disabledTests = [ "test_fundamental_params" "test_ase_bandstructure" "test_imports" "test_units" "test_favicon" "test_vibrations_methods" # missing attribute "test_jmol_roundtrip" # missing attribute "test_pw_input_write_nested_flat" # Did not raise DeprecationWarning "test_fix_scaled" # Did not raise UserWarning "test_ipi_protocol" # flaky ] ++ lib.optionals (pythonAtLeast "3.12") [ "test_info_calculators" ];
pythonImportsCheck = [ "ase" ];
meta = { description = "Atomic Simulation Environment"; homepage = "https://wiki.fysik.dtu.dk/ase/"; license = lib.licenses.lgpl21Plus; maintainers = [ ]; };}