about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sasmodels/default.nix
blob: d33de9c2a73a70964db7846e5290a923b5875e36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ];
  };
}