3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #41168 from smaret/spectral-cube

spectral-cube: init at 0.4.2
This commit is contained in:
Frederik Rietdijk 2018-05-30 09:56:33 +02:00 committed by GitHub
commit 11a2d07749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 68 additions and 0 deletions

View file

@ -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";

View 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 ];
};
}

View 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 ];
};
}

View file

@ -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)