diff options
author | Adam Washington <adam.washington@stfc.ac.uk> | 2018-03-09 12:00:24 +0000 |
---|---|---|
committer | Adam Washington <adam.washington@stfc.ac.uk> | 2018-03-12 09:21:52 +0000 |
commit | 27f14b5e7d06aa89a2c6533d62257b6db75bd0c3 (patch) | |
tree | ccf2d9392cf0bb716dccdf956b53688acbcc428b /pkgs/development/python-modules/sasmodels | |
parent | 242e37800b2968380212211af62b1c18e2ad74c2 (diff) | |
download | nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar.gz nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar.bz2 nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar.lz nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar.xz nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.tar.zst nixlib-27f14b5e7d06aa89a2c6533d62257b6db75bd0c3.zip |
pythonPackages.sasmodels: init at 0.96
Sasmodels provides a library of small angle scattering calculations that are needed by Sasview, which will be added in my next commit.
Diffstat (limited to 'pkgs/development/python-modules/sasmodels')
-rw-r--r-- | pkgs/development/python-modules/sasmodels/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sasmodels/default.nix b/pkgs/development/python-modules/sasmodels/default.nix new file mode 100644 index 000000000000..1360864cf03c --- /dev/null +++ b/pkgs/development/python-modules/sasmodels/default.nix @@ -0,0 +1,23 @@ +{lib, fetchgit, licenses, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}: + +buildPythonPackage rec { + name = "sasmodels-${version}"; + version = "0.96"; + + propagatedBuildInputs = [docutils matplotlib numpy pytest scipy]; + + 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; + license = licenses.bsd3; + maintainers = with lib.maintainers; [ rprospero ]; + }; +} |