Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 656 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, pandas 6, six 7, pytest 8, python 9}: 10 11buildPythonPackage rec { 12 pname = "drms"; 13 version = "0.5.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "ab3ec6d072b1980f77dadf3b2cb0fe56c648eaf927ea381f606b4db66d4cbff2"; 18 }; 19 20 propagatedBuildInputs = [ 21 numpy 22 pandas 23 six 24 ]; 25 26 checkInputs = [ 27 pytest 28 ]; 29 30 checkPhase = '' 31 ${python.interpreter} -m drms.tests 32 ''; 33 34 meta = with lib; { 35 description = "Access HMI, AIA and MDI data with Python"; 36 homepage = "https://github.com/sunpy/drms"; 37 license = licenses.mit; 38 maintainers = [ maintainers.costrouc ]; 39 }; 40}