mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:55:22 +08:00
16 lines
477 B
Nix
16 lines
477 B
Nix
{
|
|
src, buildPythonPackage,
|
|
setuptools, ninja, cmake, setuptools-scm, scikit-build-core, nanobind,
|
|
numpy, scipy, pyyaml, matplotlib, h5py, spglib, phonopy
|
|
}:
|
|
buildPythonPackage
|
|
{
|
|
name = "phono3py";
|
|
pyproject = true;
|
|
inherit src;
|
|
build-system = [ setuptools ninja cmake setuptools-scm scikit-build-core nanobind ];
|
|
dependencies = [ numpy scipy pyyaml matplotlib h5py spglib phonopy ];
|
|
dontUseCmakeConfigure = true;
|
|
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0";
|
|
}
|