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