1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, numpy, future, spglib, glibcLocales, pytest, scipy }:
3 buildPythonPackage rec {
6 disabled = pythonOlder "3.5";
8 src = fetchFromGitHub {
9 owner = "giovannipizzi";
12 sha256 = "0x592650ynacmx5n5bilj5lja4iw0gf1nfypy82cmy5z363qhqxn";
15 LC_ALL = "en_US.utf-8";
17 # scipy isn't listed in install_requires, but used in package
18 propagatedBuildInputs = [ numpy spglib future scipy ];
20 nativeBuildInputs = [ glibcLocales ];
22 checkInputs = [ pytest ];
24 # I don't know enough about crystal structures to fix
26 pytest . -k 'not oI2Y'
30 description = "A module to obtain and visualize band paths in the Brillouin zone of crystal structures.";
31 homepage = "https://github.com/giovannipizzi/seekpath";
32 license = licenses.mit;
33 maintainers = with maintainers; [ psyanticy ];