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