pythonPackages.sunpy: 1.0.2 -> 1.0.6
This commit is contained in:
parent
68e7f9c7b9
commit
d8a57e3614
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
@ -26,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sunpy";
|
||||
version = "1.0.2";
|
||||
version = "1.0.6";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sunpy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0dmfzxxsjjax9wf2ljyl4z07pxbshrj828zi5qnsa9rgk4148q9x";
|
||||
sha256 = "0j2yfhfxgi95rig8cfp9lvszb7694gq90jvs0xrb472hwnzgh2sk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -67,8 +68,11 @@ buildPythonPackage rec {
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
# darwin has write permission issues
|
||||
doCheck = stdenv.isLinux;
|
||||
# ignore documentation tests
|
||||
checkPhase = ''
|
||||
pytest sunpy -k "not test_rotation"
|
||||
pytest sunpy -k 'not rst'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user