Files
nixpkgs/pkgs/development/python-modules/iodata/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

52 lines
956 B
Nix

{
buildPythonPackage,
lib,
fetchFromGitHub,
setuptools,
setuptools-scm,
numpy,
scipy,
attrs,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "iodata";
version = "1.0.0a4";
pyproject = true;
src = fetchFromGitHub {
owner = "theochem";
repo = "iodata";
tag = "v${version}";
hash = "sha256-ld6V+/8lg4Du6+mHU5XuXXyMpWwyepXurerScg/bf2Q=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
numpy
scipy
attrs
];
pythonImportsCheck = [ "iodata" ];
nativeCheckInputs = [
pytest-xdist
pytestCheckHook
];
meta = {
description = "Python library for reading, writing, and converting computational chemistry file formats and generating input files";
mainProgram = "iodata-convert";
homepage = "https://github.com/theochem/iodata";
license = lib.licenses.lgpl3Only;
maintainers = [ lib.maintainers.sheepforce ];
};
}