Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 51 lines 1.0 kB view raw
1{ 2 lib, 3 fetchPypi, 4 fetchpatch2, 5 buildPythonPackage, 6 setuptools-scm, 7 astropy, 8 numpy, 9 matplotlib, 10 scipy, 11 six, 12 pytestCheckHook, 13 pytest-astropy, 14}: 15 16buildPythonPackage rec { 17 pname = "radio-beam"; 18 version = "0.3.8"; 19 pyproject = true; 20 21 src = fetchPypi { 22 inherit version; 23 pname = "radio_beam"; # Tarball was uploaded with an underscore in this version 24 hash = "sha256-CE/rcYKO3Duz5zwmJ4gEuqOoO3Uy7sjwOi96HP0Y53A="; 25 }; 26 27 nativeBuildInputs = [ setuptools-scm ]; 28 29 propagatedBuildInputs = [ 30 astropy 31 numpy 32 scipy 33 six 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 matplotlib 39 pytest-astropy 40 ]; 41 42 pythonImportsCheck = [ "radio_beam" ]; 43 44 meta = with lib; { 45 description = "Tools for Beam IO and Manipulation"; 46 homepage = "http://radio-astro-tools.github.io"; 47 changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}"; 48 license = licenses.bsd3; 49 maintainers = with maintainers; [ smaret ]; 50 }; 51}