depot/third_party/nixpkgs/pkgs/development/python-modules/seekpath/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
834 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, numpy, future, spglib, glibcLocales, pytest }:
buildPythonPackage rec {
pname = "seekpath";
version = "1.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "abc806479f11e7f71c4475a292d849baf15dfa1cbc89ecc602d78415de322c83";
};
LC_ALL = "en_US.utf-8";
propagatedBuildInputs = [ numpy spglib future ];
nativeBuildInputs = [ glibcLocales ];
checkInputs = [ pytest ];
# I don't know enough about crystal structures to fix
checkPhase = ''
pytest . -k 'not oI2Y'
'';
meta = with stdenv.lib; {
description = "A module to obtain and visualize band paths in the Brillouin zone of crystal structures.";
homepage = "https://github.com/giovannipizzi/seekpath";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}