mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 01:45:11 +00:00
4de34f80ce
- Upgrade to the latest upstream - Fix checkInputs - Include tests that were skipped previously
52 lines
839 B
Nix
52 lines
839 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, setuptools-scm
|
|
, astropy
|
|
, numpy
|
|
, matplotlib
|
|
, scipy
|
|
, six
|
|
, pytestCheckHook
|
|
, pytest-astropy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "radio_beam";
|
|
version = "0.3.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "radio-beam";
|
|
sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
astropy
|
|
numpy
|
|
scipy
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
matplotlib
|
|
pytest-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 ];
|
|
};
|
|
}
|
|
|
|
|