mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 05:18:44 +08:00
add python-spectral
This commit is contained in:
parent
6d90b99fb2
commit
6cc866dfec
@ -2,5 +2,6 @@
|
||||
{
|
||||
typora = callPackage ./typora {};
|
||||
upho = python3Packages.callPackage ./upho {};
|
||||
spectral = python3Packages.callPackage ./spectral {};
|
||||
vesta = callPackage ./vesta {};
|
||||
}
|
||||
|
15
localPackages/spectral/default.nix
Normal file
15
localPackages/spectral/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
lib, fetchPypi, buildPythonPackage,
|
||||
numpy, pillow, wxPython_4_2, matplotlib, ipython, pyopengl
|
||||
}: buildPythonPackage rec
|
||||
{
|
||||
pname = "spectral";
|
||||
version = "0.23.1";
|
||||
src = fetchPypi
|
||||
{
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4YIic1Je81g7J6lmIm1Vr+CefSmnI2z82LwN+x+Wj8I=";
|
||||
};
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ numpy pillow wxPython_4_2 matplotlib ipython pyopengl ];
|
||||
}
|
@ -6,7 +6,7 @@ inputs:
|
||||
(python3.withPackages (ps: with ps;
|
||||
[
|
||||
phonopy inquirerpy requests tqdm
|
||||
localPackages.upho
|
||||
localPackages.upho localPackages.spectral
|
||||
]))
|
||||
mathematica octave root cling gfortran
|
||||
qchem.quantum-espresso
|
||||
|
Loading…
Reference in New Issue
Block a user