Merge pull request #217982 from pmiddend/crystfel-0.10.2

crystfel: 0.10.1 → 0.10.2

authored by

Sandro and committed by
GitHub
b687a76e 228db213

+22 -18
+10 -6
pkgs/applications/science/physics/crystfel/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , cmake 6 7 , lz4 7 8 , bzip2 ··· 9 10 , m4 10 11 , hdf5 11 12 , gsl 12 - , slurm 13 13 , unzip 14 14 , makeWrapper 15 15 , meson ··· 161 161 in 162 162 stdenv.mkDerivation rec { 163 163 pname = "crystfel"; 164 - version = "0.10.1"; 164 + version = "0.10.2"; 165 165 src = fetchurl { 166 166 url = "https://www.desy.de/~twhite/${pname}/${pname}-${version}.tar.gz"; 167 - sha256 = "0i9d5ggalic7alj97dxjdys7010kxhm2cb4lwakvigl023j8ms79"; 167 + sha256 = "sha256-nCO9ndDKS54bVN9IhFBiCVNzqk7BsCljXFrOmlx+sP4="; 168 168 }; 169 169 nativeBuildInputs = [ meson pkg-config ninja flex bison doxygen opencl-headers makeWrapper ] 170 170 ++ lib.optionals withGui [ wrapGAppsHook ]; ··· 186 186 argp-standalone 187 187 memorymappingHook 188 188 ] 189 - # slurm is not available for Darwin; when it is, remove the condition 190 - ++ lib.optionals (!stdenv.isDarwin) [ slurm ] 191 189 # hdf5-external-filter-plugins doesn't link on Darwin 192 190 ++ lib.optionals (withBitshuffle && !stdenv.isDarwin) [ hdf5-external-filter-plugins ]; 193 191 194 - patches = [ ./link-to-argp-standalone-if-needed.patch ]; 192 + patches = [ 193 + ./link-to-argp-standalone-if-needed.patch 194 + (fetchpatch { 195 + url = "https://gitlab.desy.de/thomas.white/crystfel/-/commit/3c54d59e1c13aaae716845fed2585770c3ca9d14.diff"; 196 + hash = "sha256-oaJNBQQn0c+z4p1pnW4osRJA2KdKiz4hWu7uzoKY7wc="; 197 + }) 198 + ]; 195 199 196 200 # CrystFEL calls mosflm by searching PATH for it. We could've create a wrapper script that sets the PATH, but 197 201 # we'd have to do that for every CrystFEL executable (indexamajig, crystfel, partialator). Better to just