Merge pull request #74826 from smaret/spectral-cube-0.4.5

python: spectral-cube: 0.4.4 -> 0.4.5
This commit is contained in:
Mario Rodas 2019-12-03 07:06:28 -05:00 committed by GitHub
commit 0e0363735b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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