diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-04-09 14:07:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 14:07:40 -0500 |
commit | 6a74718e00672c8c8377a97e0052cc635b65dfab (patch) | |
tree | b5e91b4e3546077401cdb40fb8f16f91165c9570 /pkgs/development/python-modules/sasmodels/default.nix | |
parent | a7341d70ef3ba6ff06ef28f72ace76240cf1171a (diff) | |
parent | 392def733b61855e667c7ce7a777a6bdc397ef44 (diff) | |
download | nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.gz nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.bz2 nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.lz nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.xz nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.tar.zst nixlib-6a74718e00672c8c8377a97e0052cc635b65dfab.zip |
Merge pull request #36852 from rprospero/sasview-for-pr
sasview: init at 4.1.2
Diffstat (limited to 'pkgs/development/python-modules/sasmodels/default.nix')
-rw-r--r-- | pkgs/development/python-modules/sasmodels/default.nix | 24 |
1 files changed, 24 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..d33de9c2a73a --- /dev/null +++ b/pkgs/development/python-modules/sasmodels/default.nix @@ -0,0 +1,24 @@ +{lib, fetchgit, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}: + +buildPythonPackage rec { + pname = "sasmodels"; + version = "0.96"; + + buildInputs = [pytest]; + propagatedBuildInputs = [docutils matplotlib numpy 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 = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ rprospero ]; + }; +} |