diff options
| author | Sébastien Maret <sebastien.maret@icloud.com> | 2019-12-02 11:07:26 +0100 |
|---|---|---|
| committer | Sébastien Maret <sebastien.maret@icloud.com> | 2019-12-03 11:21:20 +0100 |
| commit | efd657fb8982ddc8986656659f9db19bb8b0fe3d (patch) | |
| tree | ee93f8d3fcc7d40b43721767672a08d5ea4d7eea /pkgs/development/python-modules/spectral-cube/default.nix | |
| parent | neomutt: 20191111 -> 20191129 (diff) | |
| download | nixpkgs-efd657fb8982ddc8986656659f9db19bb8b0fe3d.tar.gz | |
python: spectral-cube: 0.4.4 -> 0.4.5
Co-Authored-By: Mario Rodas <marsam@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/python-modules/spectral-cube/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/spectral-cube/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/spectral-cube/default.nix b/pkgs/development/python-modules/spectral-cube/default.nix index e12f00cf7a75..39edcf9b8f55 100644 --- a/pkgs/development/python-modules/spectral-cube/default.nix +++ b/pkgs/development/python-modules/spectral-cube/default.nix @@ -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; }; } - |
