1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/spectral-cube/default.nix

31 lines
697 B
Nix
Raw Normal View History

2018-05-28 11:50:10 +01:00
{ 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 ];
};
}