1{ lib
2, fetchPypi
3, buildPythonPackage
4, setuptools-scm
5, astropy
6, numpy
7, matplotlib
8, scipy
9, six
10, pytestCheckHook
11, pytest-astropy
12}:
13
14buildPythonPackage rec {
15 pname = "radio_beam";
16 version = "0.3.4";
17 format = "pyproject";
18
19 src = fetchPypi {
20 inherit version;
21 pname = "radio-beam";
22 sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
23 };
24
25 nativeBuildInputs = [
26 setuptools-scm
27 ];
28
29 propagatedBuildInputs = [
30 astropy
31 numpy
32 scipy
33 six
34 ];
35
36 nativeCheckInputs = [
37 pytestCheckHook
38 matplotlib
39 pytest-astropy
40 ];
41
42 meta = {
43 description = "Tools for Beam IO and Manipulation";
44 homepage = "http://radio-astro-tools.github.io";
45 license = lib.licenses.bsd3;
46 platforms = lib.platforms.all;
47 maintainers = with lib.maintainers; [ smaret ];
48 };
49}
50
51