blob: 7954f569db9000cb5fff0b721f6d1b67f2cdffee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
scipy,
spglib,
glibcLocales,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "seekpath";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "giovannipizzi";
repo = "seekpath";
rev = "v${version}";
hash = "sha256-8Nm8SKHda2qt1kncXZxC4T3cpicXpDZhxPzs78JICzE=";
};
LC_ALL = "en_US.utf-8";
build-system = [ setuptools ];
dependencies = [
numpy
spglib
];
optional-dependencies = {
bz = [ scipy ];
};
nativeBuildInputs = [ glibcLocales ];
pythonImportsCheck = [ "seekpath" ];
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.bz;
meta = {
description = "Module to obtain and visualize band paths in the Brillouin zone of crystal structures";
homepage = "https://github.com/giovannipizzi/seekpath";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ psyanticy ];
};
}
|