14 buildPythonPackage rec {
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-GZQYVvQ4bEBizTmJ+o5fIfGr8gn2/4uD3PxIswEjzSE=";
32 propagatedBuildInputs = [
40 # Note: the 1.0.5 release should be compatible with pytest6, so this can
41 # be set back to 'pytest' at that point
47 HOME=$(mktemp -d) py.test -c ./pytest.ini
50 pythonImportsCheck = [
55 description = "Library of small angle scattering models";
56 homepage = "https://github.com/SasView/sasmodels";
57 license = licenses.bsd3;
58 maintainers = with maintainers; [ rprospero ];