sasview: 5.0.4 -> 5.0.6

Diff: https://github.com/SasView/sasview/compare/refs/tags/v5.0.4...v5.0.6

+16 -16
+16 -16
pkgs/applications/science/misc/sasview/default.nix
··· 1 1 { lib 2 2 , python3 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , wrapQtAppsHook 6 5 }: 7 6 8 7 python3.pkgs.buildPythonApplication rec { 9 8 pname = "sasview"; 10 - version = "5.0.4"; 9 + version = "5.0.6"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "SasView"; 14 14 repo = "sasview"; 15 - rev = "v${version}"; 16 - hash = "sha256-TjcchqA6GCvkr59ZgDuGglan2RxLp+aMjJk28XhvoiY="; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-cwP9VuvO4GPlbAxCqw31xISTi9NoF5RoBQmjWusrnzc="; 17 17 }; 18 18 19 - patches = [ 20 - # Fix `asscalar` numpy API removal. 21 - # See https://github.com/SasView/sasview/pull/2178 22 - (fetchpatch { 23 - url = "https://github.com/SasView/sasview/commit/b1ab08c2a4e8fdade7f3e4cfecf3dfec38b8f3c5.patch"; 24 - hash = "sha256-IH8g4XPziVAnkmBdzLH1ii8vN6kyCmOgrQlH2HEbm5o="; 25 - }) 26 - ]; 27 - 28 19 # AttributeError: module 'numpy' has no attribute 'float'. 29 20 postPatch = '' 30 21 substituteInPlace src/sas/sascalc/pr/p_invertor.py \ ··· 33 24 34 25 nativeBuildInputs = [ 35 26 python3.pkgs.pyqt5 27 + python3.pkgs.setuptools 36 28 wrapQtAppsHook 37 29 ]; 38 30 ··· 66 58 unittest-xml-reporting 67 59 ]; 68 60 69 - pytestFlagsArray = [ "test" ]; 61 + pytestFlagsArray = [ 62 + "test" 63 + ]; 64 + 65 + disabledTests = [ 66 + # NoKnownLoaderException 67 + "test_invalid_cansas" 68 + "test_data_reader_exception" 69 + ]; 70 70 71 71 meta = with lib; { 72 + description = "Fitting and data analysis for small angle scattering data"; 72 73 homepage = "https://www.sasview.org"; 73 - description = "Fitting and data analysis for small angle scattering data"; 74 + license = licenses.bsd3; 74 75 maintainers = with maintainers; [ rprospero ]; 75 - license = licenses.bsd3; 76 76 }; 77 77 }