-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.sumo: init at 1.0.9 ( And other packages that sumo depends on) #43260
Conversation
Please create one commit per package. |
@dotlambda Done. |
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Palettable (formerly brewer2mpl) is a library of color palettes for Python"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = with stdenv.lib; { | ||
description = "Palettable (formerly brewer2mpl) is a library of color palettes for Python"; | ||
homepage = https://jiffyclub.github.io/palettable/; | ||
license = licenses.free; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Phonopy is an open source package for phonon calculations at harmonic and quasi-harmonic levels."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
checkPhase = '' | ||
cd test/phonopy | ||
${python.interpreter} -m unittest discover -b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to specify the directory using -s test/phonopy
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotlambda I think we can keep it that way ? (couldn't get it to work with -s ....)
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
description = "A robust materials analysis code that defines core object representations for structures and molecules with support for many electronic structure codes."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
I also think this is too long.
propagatedBuildInputs = [ numpy scipy spglib pymatgen h5py matplotlib seekpath phonopy ]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Toolkit for plotting and analysis of ab initio solid-state calculation data."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotlambda Hi, Thanks for the review. Should I push the fix in one commit or I need to rebase and push each fix for each package in a separate commit? |
You should use |
@dotlambda I updated the commits as you mentioned but it seems that some merging conflicts was introduced as this was open for some time now. Any idea on how to fix that or should i create a new PR? |
Just do |
@dotlambda Done, Thanks for the help |
@Assassinkin There still seems to be a conflict. I forgot to say that you need to do |
@dotlambda We should be good now. |
@GrahamcOfBorg build python2.pkgs.sumo python3.pkgs.sumo |
Failure on x86_64-linux (full log) Attempted: python2.pkgs.sumo, python3.pkgs.sumo Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python2.pkgs.sumo, python3.pkgs.sumo Partial log (click to expand)
|
spglib tests are failing in the new version https://github.com/atztogo/spglib/issues/63 . Will update that package then update this one. |
@GrahamcOfBorg build python2.pkgs.sumo python3.pkgs.sumo |
Success on x86_64-linux (full log) Attempted: python2.pkgs.sumo, python3.pkgs.sumo Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python2.pkgs.sumo, python3.pkgs.sumo Partial log (click to expand)
|
sumo: init at 1.0.9, phonopy: init at 1.13.2.13, pymatgen: init at 2018.6.27, palettable:init at 3.1.1
For pymatgen, test are available in Github repo but the repo is 150 MB of size. I also had a problem running them because of an issue i couldn't understand. if any one can take a look and help me understand the issue would be great.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)