summary refs log tree commit diff
diff options
context:
space:
mode:
authorSébastien Maret <sebastien.maret@icloud.com>2020-02-20 15:26:04 +0100
committerSébastien Maret <sebastien.maret@icloud.com>2020-02-20 15:28:57 +0100
commit7667207f3da9d566b86e62bf28e2bc72b5053c78 (patch)
tree94eeb9e3db7f459e1888802ac2bc5b410247ef41
parentf098b0dd2cdc008711938272b3d622cb55131706 (diff)
downloadnixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar.gz
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar.bz2
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar.lz
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar.xz
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.tar.zst
nixpkgs-7667207f3da9d566b86e62bf28e2bc72b5053c78.zip
gildas: 20200101_a -> 20200201_a
 - Upgrade gildas to the latest version

 - Remove a patch that has been included upstream

 - Re-enable parallel building (fixed upstream)
-rw-r--r--pkgs/applications/science/astronomy/gildas/default.nix12
-rw-r--r--pkgs/applications/science/astronomy/gildas/imager-py3.patch12
2 files changed, 4 insertions, 20 deletions
diff --git a/pkgs/applications/science/astronomy/gildas/default.nix b/pkgs/applications/science/astronomy/gildas/default.nix
index cc6af8a17c0..9908439e10d 100644
--- a/pkgs/applications/science/astronomy/gildas/default.nix
+++ b/pkgs/applications/science/astronomy/gildas/default.nix
@@ -7,8 +7,8 @@ let
 in
 
 stdenv.mkDerivation rec {
-  srcVersion = "jan20a";
-  version = "20200101_a";
+  srcVersion = "feb20a";
+  version = "20200201_a";
   pname = "gildas";
 
   src = fetchurl {
@@ -16,19 +16,15 @@ stdenv.mkDerivation rec {
     # source code of the previous release to a different directory
     urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
       "http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
-    sha256 = "12n08pax7gwg2z121ix3ah5prq3yswqnf2yc8jgs4i9rgkpbsfzz";
+    sha256 = "05f34kpi3pfgf4dsyka7mkcln26yzb2mixnnc306krq0isjm7m26";
   };
 
-  # Python scripts are not converted to Python 3 syntax when parallel
-  # building is turned on. Disable it until this is fixed upstream.
-  enableParallelBuilding = false;
-
   nativeBuildInputs = [ pkgconfig groff perl getopt gfortran which ];
 
   buildInputs = [ gtk2-x11 lesstif cfitsio python3Env ncurses ]
     ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]);
 
-  patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ./imager-py3.patch ];
+  patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ];
 
   NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
 
diff --git a/pkgs/applications/science/astronomy/gildas/imager-py3.patch b/pkgs/applications/science/astronomy/gildas/imager-py3.patch
deleted file mode 100644
index 71a129164ba..00000000000
--- a/pkgs/applications/science/astronomy/gildas/imager-py3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN gildas-src-jan20a.orig/contrib/imager/pro/define.ima gildas-src-jan20a/contrib/imager/pro/define.ima
---- gildas-src-jan20a.orig/contrib/imager/pro/define.ima	2020-01-01 02:15:16.000000000 +0100
-+++ gildas-src-jan20a/contrib/imager/pro/define.ima	2020-01-14 11:18:46.000000000 +0100
-@@ -9,7 +9,7 @@
- !
- ! Patch for a Bug on Mac-OS/X where Python blocks if activated first
- ! from a script launched by a widget.
--python print "Starting Python" 
-+python print("Starting Python")
- !
- ! INPUT, GO and UVT_CONVERT always defined by GreG
- define command GO "@ p_go.ima" gag_pro:go_greg.hlp