summary refs log tree commit diff
path: root/pkgs/development/python-modules/radio_beam/default.nix
blob: aa56e223237b0105ab28a4a48e7e669ed5197cea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ lib
, fetchPypi
, buildPythonPackage
, setuptools-scm
, astropy
, numpy
, matplotlib
, scipy
, six
, pytestCheckHook
, pytest-astropy
}:

buildPythonPackage rec {
  pname = "radio_beam";
  version = "0.3.4";
  format = "pyproject";

  src = fetchPypi {
    inherit version;
    pname = "radio-beam";
    sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
  };

  nativeBuildInputs = [
    setuptools-scm
  ];

  propagatedBuildInputs = [
    astropy
    numpy
    scipy
    six
  ];

  checkInputs = [
    pytestCheckHook
    matplotlib
    pytest-astropy
  ];

  meta = {
    description = "Tools for Beam IO and Manipulation";
    homepage = "http://radio-astro-tools.github.io";
    license = lib.licenses.bsd3;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ smaret ];
  };
}