Merge pull request #41168 from smaret/spectral-cube
spectral-cube: init at 0.4.2
This commit is contained in:
commit
11a2d07749
4 changed files with 68 additions and 0 deletions
|
@ -3536,6 +3536,11 @@
|
|||
github = "sleexyz";
|
||||
name = "Sean Lee";
|
||||
};
|
||||
smaret = {
|
||||
email = "sebastien.maret@icloud.com";
|
||||
github = "smaret";
|
||||
name = "Sébastien Maret";
|
||||
};
|
||||
smironov = {
|
||||
email = "grrwlf@gmail.com";
|
||||
github = "grwlf";
|
||||
|
|
28
pkgs/development/python-modules/radio_beam/default.nix
Normal file
28
pkgs/development/python-modules/radio_beam/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, astropy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "radio_beam";
|
||||
version = "0.2";
|
||||
|
||||
doCheck = false; # the tests requires several pytest plugins that are not in nixpkgs
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gbnwnk89n8z0xwn41rc7wpr0fwrzkvxficyki3dyqbxq7y3qfrv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ 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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
30
pkgs/development/python-modules/spectral-cube/default.nix
Normal file
30
pkgs/development/python-modules/spectral-cube/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -18154,6 +18154,11 @@ EOF
|
|||
pyogg = callPackage ../development/python-modules/pyogg { };
|
||||
|
||||
rubymarshal = callPackage ../development/python-modules/rubymarshal { };
|
||||
|
||||
radio_beam = callPackage ../development/python-modules/radio_beam { };
|
||||
|
||||
spectral-cube = callPackage ../development/python-modules/spectral-cube { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
|
Loading…
Reference in a new issue