ocamlPackages.magic: 0.7.3 -> 0.7.4, remove myself from maintainer
[NixPkgs.git] / pkgs / development / python-modules / sumo / default.nix
blob3cf6e4150683bd4174a6fc9398b1c714cc306a05
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   cython,
7   h5py,
8   matplotlib,
9   numpy,
10   phonopy,
11   pymatgen,
12   scipy,
13   seekpath,
14   spglib,
15   castepxbin,
16   pytestCheckHook,
17   colormath,
20 buildPythonPackage rec {
21   pname = "sumo";
22   version = "2.3.10";
23   format = "setuptools";
25   disabled = pythonOlder "3.8";
27   src = fetchFromGitHub {
28     owner = "SMTG-UCL";
29     repo = "sumo";
30     tag = "v${version}";
31     hash = "sha256-WoOW+JPo5x9V6LN+e8Vf3Q3ohHhQVK81s0Qk7oPn1Tk=";
32   };
34   nativeBuildInputs = [ cython ];
36   propagatedBuildInputs = [
37     castepxbin
38     colormath
39     h5py
40     matplotlib
41     numpy
42     phonopy
43     pymatgen
44     scipy
45     seekpath
46     spglib
47   ];
49   nativeCheckInputs = [ pytestCheckHook ];
51   pythonImportsCheck = [ "sumo" ];
53   meta = with lib; {
54     description = "Toolkit for plotting and analysis of ab initio solid-state calculation data";
55     homepage = "https://github.com/SMTG-UCL/sumo";
56     changelog = "https://github.com/SMTG-Bham/sumo/releases/tag/v${version}";
57     license = licenses.mit;
58     maintainers = with maintainers; [ psyanticy ];
59   };