2018-03-21 13:32:30 +00:00
|
|
|
{lib, fetchgit, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}:
|
2018-03-09 12:00:24 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-03-22 17:44:27 +00:00
|
|
|
pname = "sasmodels";
|
2018-03-09 12:00:24 +00:00
|
|
|
version = "0.96";
|
|
|
|
|
2018-03-22 17:44:27 +00:00
|
|
|
buildInputs = [pytest];
|
|
|
|
propagatedBuildInputs = [docutils matplotlib numpy scipy];
|
2018-03-09 12:00:24 +00:00
|
|
|
|
|
|
|
preCheck = ''export HOME=$(mktemp -d)'';
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/SasView/sasmodels.git";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "11qaaqdc23qzb75zs48fkypksmcb332vl0pkjqr5bijxxymgm7nw";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library of small angle scattering models";
|
|
|
|
homepage = http://sasview.org;
|
2018-03-21 13:32:30 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2018-03-09 12:00:24 +00:00
|
|
|
maintainers = with lib.maintainers; [ rprospero ];
|
|
|
|
};
|
|
|
|
}
|