diff options
Diffstat (limited to 'pkgs/development/python-modules/atomman/default.nix')
-rw-r--r-- | pkgs/development/python-modules/atomman/default.nix | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/atomman/default.nix b/pkgs/development/python-modules/atomman/default.nix index 8a04f3e8f9ab3..997466118258d 100644 --- a/pkgs/development/python-modules/atomman/default.nix +++ b/pkgs/development/python-modules/atomman/default.nix @@ -1,6 +1,5 @@ { lib, - ase, buildPythonPackage, cython, datamodeldict, @@ -11,37 +10,31 @@ pandas, phonopy, potentials, - pymatgen, pytestCheckHook, pythonOlder, requests, scipy, setuptools, toolz, - wheel, xmltodict, - pythonRelaxDepsHook, }: -buildPythonPackage { +buildPythonPackage rec { pname = "atomman"; - version = "1.4.6-unstable-2023-07-28"; + version = "1.4.11"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "usnistgov"; repo = "atomman"; - rev = "b8af21a9285959d38ee26173081db1b4488401bc"; - hash = "sha256-WfB+OY61IPprT6OCVHl8VA60p7lLVkRGuyYX+nm7bbA="; + rev = "refs/tags/v${version}"; + hash = "sha256-2yxHv9fSgLM5BeUkXV9NX+xyplXtyfWodwS9sVUVzqU="; }; - nativeBuildInputs = [ pythonRelaxDepsHook ]; - build-system = [ setuptools - wheel numpy cython ]; @@ -59,7 +52,7 @@ buildPythonPackage { xmltodict ]; - pythonRelaxDeps = [ "potentials" ]; + pythonRelaxDeps = [ "atomman" ]; preCheck = '' # By default, pytestCheckHook imports atomman from the current directory @@ -70,9 +63,7 @@ buildPythonPackage { ''; nativeCheckInputs = [ - ase phonopy - pymatgen pytestCheckHook ]; @@ -83,9 +74,10 @@ buildPythonPackage { pythonImportsCheck = [ "atomman" ]; meta = with lib; { + changelog = "https://github.com/usnistgov/atomman/blob/${src.rev}/UPDATES.rst"; description = "Atomistic Manipulation Toolkit"; homepage = "https://github.com/usnistgov/atomman/"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = [ ]; }; } |