From 3b9a34ff30767613a589e3afb128f94f106f2d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maret?= Date: Mon, 28 May 2018 12:38:44 +0200 Subject: [PATCH] radio_beam: init at 0.2 --- .../python-modules/radio_beam/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 3 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/radio_beam/default.nix 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)