python: spectral-cube: 0.4.4 -> 0.4.5

Co-Authored-By: Mario Rodas <marsam@users.noreply.github.com>
This commit is contained in:
Sébastien Maret 2019-12-02 11:07:26 +01:00
parent ecb7f4c048
commit efd657fb89
No known key found for this signature in database
GPG key ID: 86E30E5A0F5FC59C

View file

@ -1,5 +1,5 @@
{ lib
, fetchPypi
, fetchFromGitHub
, buildPythonPackage
, astropy
, radio_beam
@ -10,11 +10,14 @@
buildPythonPackage rec {
pname = "spectral-cube";
version = "0.4.4";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "9051ede204b1e25b6358b5e0e573b624ec0e208c24eb03a7ed4925b745c93b5e";
# Fetch from GitHub instead of PyPi, as 0.4.5 isn't available in PyPi
src = fetchFromGitHub {
owner = "radio-astro-tools";
repo = pname;
rev = "v${version}";
sha256 = "1xc1m6vpl0bm600fx9vypa7zcvwg7yvhgn0w89y6v9d1vl0qcs7z";
};
propagatedBuildInputs = [ astropy radio_beam ];
@ -40,8 +43,6 @@ buildPythonPackage rec {
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ smaret ];
broken = true;
};
}