checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
The package breaks currently breaks with the following message:
```
fixed-output derivation produced path '/nix/store/5dh1mdj027ad8sprk12fqa5h5bpdxs5n-sasview' with sha256 hash '12k1w4yq1mzjxcp2cqb562c7cbwzhi54rsbmgi0fax0i1660q167' instead of the expected hash '05la54wwzzlkhmj8vkr0bvzagyib6z6mgwqbddzjs5y1wd48vpcx'
```
To fix the build the following changes were applied:
* Switched to latest master for now as the older releases have a broken
`py.test` configuration and altering hashes.
* Added `checkPhase` which invokes `py.test` directly and drops
duplicated files from `dist/tmpbuild`.
* Rebased the patches `pyparsing-fix.patch` and `local_config.patch` for
the latest master revision.
Additionally refer to the discussion in #40381 for further reference.
Sasview is a data fitting and analysis package for small angle
scattering data. More information can be found at
https://www.sasview.org.
There is some unfortunate cruft to this commit. SasView uses the
xhtml2pdf python package, which has a specific version of html5lib as
a dependency. This module manually loads that version into sasview.
I haven't made xhtml2pdf available as its own package due to these
circumstances.