1{ lib
2, buildPythonPackage
3, fetchPypi
4, numpy
5, pandas
6, six
7, astropy
8, pytestCheckHook
9, pytest-doctestplus
10, pythonOlder
11, setuptools-scm
12}:
13
14buildPythonPackage rec {
15 pname = "drms";
16 version = "0.6.3";
17 format = "pyproject";
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-crPVo7ALErZWvNcsaJ/BuBa0VkfCsZ+C929x4kEZHKw=";
23 };
24
25 nativeBuildInputs = [
26 setuptools-scm
27 ];
28
29 propagatedBuildInputs = [
30 numpy
31 pandas
32 six
33 ];
34
35 nativeCheckInputs = [
36 astropy
37 pytestCheckHook
38 pytest-doctestplus
39 ];
40
41 disabledTests = [
42 "test_query_hexadecimal_strings"
43 ];
44
45 disabledTestPaths = [
46 "docs/tutorial.rst"
47 ];
48
49 pythonImportsCheck = [ "drms" ];
50
51 meta = with lib; {
52 description = "Access HMI, AIA and MDI data with Python";
53 homepage = "https://github.com/sunpy/drms";
54 license = licenses.bsd2;
55 maintainers = with maintainers; [ costrouc ];
56 };
57}