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.
This commit is contained in:
parent
242e37800b
commit
27f14b5e7d
23
pkgs/development/python-modules/sasmodels/default.nix
Normal file
23
pkgs/development/python-modules/sasmodels/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -15321,6 +15321,10 @@ in {
|
|||||||
|
|
||||||
sampledata = callPackage ../development/python-modules/sampledata { };
|
sampledata = callPackage ../development/python-modules/sampledata { };
|
||||||
|
|
||||||
|
sasmodels = callPackage ../development/python-modules/sasmodels {
|
||||||
|
inherit licenses;
|
||||||
|
};
|
||||||
|
|
||||||
scapy = callPackage ../development/python-modules/scapy { };
|
scapy = callPackage ../development/python-modules/scapy { };
|
||||||
|
|
||||||
scipy = callPackage ../development/python-modules/scipy { };
|
scipy = callPackage ../development/python-modules/scipy { };
|
||||||
|
Loading…
Reference in New Issue
Block a user