mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
60 lines
1009 B
Nix
60 lines
1009 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
numpy,
|
|
pandas,
|
|
six,
|
|
astropy,
|
|
oldest-supported-numpy,
|
|
pytestCheckHook,
|
|
pytest-doctestplus,
|
|
pythonOlder,
|
|
setuptools-scm,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "drms";
|
|
version = "0.7.1";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2VtAGRx0OnYdATK/ngNhffmQDjZfELYeTTPCdfkHAAc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
numpy
|
|
oldest-supported-numpy
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
pandas
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
astropy
|
|
pytestCheckHook
|
|
pytest-doctestplus
|
|
];
|
|
|
|
disabledTests = [ "test_query_hexadecimal_strings" ];
|
|
|
|
disabledTestPaths = [ "docs/tutorial.rst" ];
|
|
|
|
pythonImportsCheck = [ "drms" ];
|
|
|
|
meta = with lib; {
|
|
description = "Access HMI, AIA and MDI data with Python";
|
|
homepage = "https://github.com/sunpy/drms";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|