blob: 71cc81c5c3bbd3cc3dbba0f6501b26d736df1f1f (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
numpy,
scipy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "castepxbin";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "zhubonan";
repo = "castepxbin";
tag = "v${version}";
hash = "sha256-M+OoKr9ODIp47gt64hf47A1PblyZpBzulKI7nEm8hdo=";
};
build-system = [ flit-core ];
dependencies = [
numpy
scipy
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/zhubonan/castepxbin/releases/tag/${src.tag}";
description = "Collection of readers for CASTEP binary outputs";
homepage = "https://github.com/zhubonan/castepxbin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|