summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-11-04 15:58:16 +0100
committerGitHub <noreply@github.com>2023-11-04 15:58:16 +0100
commit2b201d59490399c46ff1253d5670c96dd771f1cd (patch)
tree6135c081bbaa914af7e9e4fc0b4cb17520966b1f /pkgs
parentba40f99a9d5f284596ee03a3a0225de4eaf30a55 (diff)
parente25e4aee789507559ba25546f25e774ab79278cd (diff)
downloadnixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar.gz
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar.bz2
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar.lz
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar.xz
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.tar.zst
nixpkgs-2b201d59490399c46ff1253d5670c96dd771f1cd.zip
Merge pull request #265383 from natsukium/radio-beam
python311Packages.radio-beam: 0.3.4 -> 0.3.6; rename from radio_beam
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/radio-beam/default.nix (renamed from pkgs/development/python-modules/radio_beam/default.nix)23
-rw-r--r--pkgs/development/python-modules/spectral-cube/default.nix4
-rw-r--r--pkgs/top-level/python-aliases.nix1
-rw-r--r--pkgs/top-level/python-packages.nix2
4 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/radio_beam/default.nix b/pkgs/development/python-modules/radio-beam/default.nix
index 1a349736787..41653caaa3e 100644
--- a/pkgs/development/python-modules/radio_beam/default.nix
+++ b/pkgs/development/python-modules/radio-beam/default.nix
@@ -12,14 +12,13 @@
 }:
 
 buildPythonPackage rec {
-  pname = "radio_beam";
-  version = "0.3.4";
-  format = "pyproject";
+  pname = "radio-beam";
+  version = "0.3.6";
+  pyproject = true;
 
   src = fetchPypi {
-    inherit version;
-    pname = "radio-beam";
-    sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
+    inherit pname version;
+    hash = "sha256-U+IjOTt7x9uzUl7IcQRu2s+MBKF/OR+sLddvHmp9hqU=";
   };
 
   nativeBuildInputs = [
@@ -39,12 +38,16 @@ buildPythonPackage rec {
     pytest-astropy
   ];
 
-  meta = {
+  pythonImportsCheck = [
+    "radio_beam"
+  ];
+
+  meta = with lib; {
     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 ];
+    changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ smaret ];
   };
 }
 
diff --git a/pkgs/development/python-modules/spectral-cube/default.nix b/pkgs/development/python-modules/spectral-cube/default.nix
index abeb5d0f927..d1c85407fdd 100644
--- a/pkgs/development/python-modules/spectral-cube/default.nix
+++ b/pkgs/development/python-modules/spectral-cube/default.nix
@@ -11,7 +11,7 @@
 , pytest-astropy
 , pytestCheckHook
 , pythonOlder
-, radio_beam
+, radio-beam
 , setuptools-scm
 }:
 
@@ -36,7 +36,7 @@ buildPythonPackage rec {
   propagatedBuildInputs = [
     astropy
     casa-formats-io
-    radio_beam
+    radio-beam
     joblib
     dask
   ];
diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix
index 00f517bc578..97474da3e01 100644
--- a/pkgs/top-level/python-aliases.nix
+++ b/pkgs/top-level/python-aliases.nix
@@ -359,6 +359,7 @@ mapAliases ({
   Quandl = quandl; # added 2023-02-19
   qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
   rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
+  radio_beam = radio-beam; # added 2023-11-04
   ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21
   rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
   recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 806d4d6609f..522136e310b 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -11989,7 +11989,7 @@ self: super: with self; {
 
   radian = callPackage ../development/python-modules/radian { };
 
-  radio_beam = callPackage ../development/python-modules/radio_beam { };
+  radio-beam = callPackage ../development/python-modules/radio-beam { };
 
   radios = callPackage ../development/python-modules/radios { };