13 buildPythonPackage rec {
17 src = fetchFromGitHub {
21 sha256 = "0h2k81dm92sm0z086qy3ipw6y6cfgpb7ppl7lhjmx6816s3k50sa";
24 buildInputs = [ opencl-headers ];
25 # Note: the 1.0.5 release should be compatible with pytest6, so this can
26 # be set back to 'pytest' at that point
27 checkInputs = [ pytest_5 ];
28 propagatedBuildInputs = [ docutils matplotlib numpy scipy pyopencl ];
31 HOME=$(mktemp -d) py.test -c ./pytest.ini
35 description = "Library of small angle scattering models";
36 homepage = "http://sasview.org";
37 license = lib.licenses.bsd3;
38 maintainers = with lib.maintainers; [ rprospero ];