Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / castepxbin / default.nix
blob007a9543d6f18e24c340dc3d42a6f4e2e17ad9f9
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , flit-core
6 , numpy
7 , scipy
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "castepxbin";
13   version = "0.3.0";
15   disabled = pythonOlder "3.7";
17   format = "pyproject";
19   src = fetchFromGitHub {
20     owner = "zhubonan";
21     repo = "castepxbin";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-6kumVnm4PLRxuKO6Uz0iHzfYuu21hFC7EPRsc3S1kxE=";
24   };
26   nativeBuildInputs = [
27     flit-core
28   ];
30   propagatedBuildInputs = [
31     numpy
32     scipy
33   ];
35   nativeCheckInputs = [
36     pytestCheckHook
37   ];
39   meta = with lib; {
40     description = "A collection of readers for CASTEP binary outputs";
41     homepage = "https://github.com/zhubonan/castepxbin";
42     license = licenses.mit;
43     maintainers = with maintainers; [ dotlambda ];
44   };