depot/third_party/nixpkgs/pkgs/development/python-modules/radio-beam/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

54 lines
913 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, setuptools-scm
, astropy
, numpy
, matplotlib
, scipy
, six
, pytestCheckHook
, pytest-astropy
}:
buildPythonPackage rec {
pname = "radio-beam";
version = "0.3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7AFkuuYLzibwwgz6zrFw0fBXCnGLzdm4OgT+Chve5jU=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
astropy
numpy
scipy
six
];
nativeCheckInputs = [
pytestCheckHook
matplotlib
pytest-astropy
];
pythonImportsCheck = [
"radio_beam"
];
meta = with lib; {
description = "Tools for Beam IO and Manipulation";
homepage = "http://radio-astro-tools.github.io";
changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ smaret ];
};
}