summary refs log tree commit diff
path: root/pkgs/development/python-modules/spectral-cube/default.nix
blob: 3f54fefadf2419f5c0c7489b41f3d90acde54f41 (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
{ lib
, fetchPypi
, buildPythonPackage
, astropy
, radio_beam
, pytest }:

buildPythonPackage rec {
  pname = "spectral-cube";
  version = "0.4.3";

  doCheck = false; # the tests requires several pytest plugins that are not in nixpkgs

  src = fetchPypi {
    inherit pname version;
    sha256 = "057g3mzlg5cy4wg2hh3p6gssn93rs6i7pswzhldvcq4k8m8hsl3b";
  };

  propagatedBuildInputs = [ astropy radio_beam pytest ];

  meta = {
    description = "Library for reading and analyzing astrophysical spectral data cubes";
    homepage = http://radio-astro-tools.github.io;
    license = lib.licenses.bsd3;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ smaret ];
  };
}