Commit graph

2 commits

Author SHA1 Message Date
Maximilian Bosch
be53a0f2ef sasview: fix build (#40433)
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.
2018-05-13 17:25:18 +02:00
Adam Washington
73ed353d27 sasview: init at 4.1.2
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.
2018-03-12 09:22:06 +00:00