depot/third_party/nixpkgs/pkgs/development/python-modules/radio_beam/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

38 lines
762 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, astropy
, pytestCheckHook
, pytest-doctestplus
, scipy
}:
buildPythonPackage rec {
pname = "radio_beam";
version = "0.3.3";
src = fetchPypi {
inherit version;
pname = "radio-beam";
sha256 = "e34902d91713ccab9f450b9d3e82317e292cf46a30bd42f9ad3c9a0519fcddcd";
};
propagatedBuildInputs = [ astropy ];
checkInputs = [ pytestCheckHook pytest-doctestplus scipy ];
# Tests must be run in the build directory
preCheck = ''
cd build/lib
'';
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 ];
};
}