Unverified Commit 834a56b1 authored by R. RyanTM's avatar R. RyanTM Committed by GitHub
Browse files

python312Packages.drms: 0.8.0 -> 0.9.0 (#380064)

parent 204a67bf
Loading
Loading
Loading
Loading
+21 −18
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,

  # build-system
  setuptools,
  setuptools-scm,

  # dependencies
  numpy,
  pandas,
  six,
  packaging,

  astropy,
  oldest-supported-numpy,
  pytestCheckHook,
  pytest-doctestplus,
  pythonOlder,
  setuptools-scm,
  wheel,
}:

buildPythonPackage rec {
  pname = "drms";
  version = "0.8.0";
  format = "pyproject";
  disabled = pythonOlder "3.7";
  version = "0.9.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-LgHu7mTgiL3n2lVaOhppdWfQiM0CFkK+6z6eBkLxmKY=";
  src = fetchFromGitHub {
    owner = "sunpy";
    repo = "drms";
    tag = "v${version}";
    hash = "sha256-Hd65bpJCknBeRd27JlcIkzzoZv5nGR7C6oMSGPFiyjA=";
  };

  nativeBuildInputs = [
    numpy
    oldest-supported-numpy
  build-system = [
    setuptools
    setuptools-scm
    wheel
  ];

  propagatedBuildInputs = [
  dependencies = [
    numpy
    pandas
    six
    packaging
  ];

  nativeCheckInputs = [
@@ -56,6 +58,7 @@ buildPythonPackage rec {
  meta = {
    description = "Access HMI, AIA and MDI data with Python";
    homepage = "https://github.com/sunpy/drms";
    changelog = "https://github.com/sunpy/drms/blob/v${version}/CHANGELOG.rst";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ bot-wxt1221 ];
  };