diff --git a/pkgs/development/python-modules/radio_beam/default.nix b/pkgs/development/python-modules/radio_beam/default.nix new file mode 100644 index 000000000000..07a05902a369 --- /dev/null +++ b/pkgs/development/python-modules/radio_beam/default.nix @@ -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 ]; + }; +} + + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cfa9537e5301..deb3e35e0a28 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18168,6 +18168,9 @@ EOF pyogg = callPackage ../development/python-modules/pyogg { }; rubymarshal = callPackage ../development/python-modules/rubymarshal { }; + + radio_beam = callPackage ../development/python-modules/radio_beam { }; + }); in fix' (extends overrides packages)