usnistgov / jarvis_leaderboard

Explore State-of-the-Art Materials Design Methods: https://www.nature.com/articles/s41524-024-01259-w
https://pages.nist.gov/jarvis_leaderboard/
Other
54 stars 40 forks source link

Add nix and conda packages #320

Open knc6 opened 3 months ago

knc6 commented 3 months ago

Add nix packages here

Most of these packages have conda

and others.

For complete list grep "software_used" jarvis_leaderboard/contributions/*/metadata.json

john-bonini commented 3 months ago

I checked the status of the packages on this list which are not developed at nist:

Nixpkgs already has quantum-espresso and gpaw.

The NixOS-QChem overlay has qmcpack.

kgcnn is in pypi, so maybe we could get away with using poetry2nix, but that should be tested.

elemnet only has a requirements.txt so probably needs to be packaged.

john-bonini commented 3 months ago

While I'm at it I hacked together this one-liner: grep "software_used" jarvis_leaderboard/contributions/*/metadata.json | sed -E 's|.*"([^"]*)"[^"]*$|\1|' | sed "s|,\s*|\n|g" | sort | uniq | sed -E "s|(.*)|- [ ] \1|", which outputs the list below (where I've manually started checking things off):

Above I've done the following: † indicates that nix derivations are in NixOS-QChem overlay. ‡ is for a julia package which should be able to be installed with julia.withPackages in a nix derivation.