nixpkgs/pkgs/applications/science/misc/sasview/default.nix
Adam Washington 01c1385dec
Make xhtml2pdf its own package in python-packages
xhtml2pdf now uses the main package html5lib with just an override to
pull the correct version number.
2018-03-21 13:46:17 +00:00

45 lines
908 B
Nix

{lib, fetchgit, gcc, python}:
python.pkgs.buildPythonApplication rec {
name = "sasview-${version}";
version = "4.1.2";
propagatedBuildInputs = with python.pkgs; [
bumps
gcc
h5py
libxslt
lxml
matplotlib
numpy
pyparsing
periodictable
pillow
pylint
pyopencl
pytest
reportlab
sasmodels
scipy
six
sphinx
unittest-xml-reporting
wxPython
xhtml2pdf];
src = fetchgit {
url = "https://github.com/SasView/sasview.git";
rev = "v${version}";
sha256 ="05la54wwzzlkhmj8vkr0bvzagyib6z6mgwqbddzjs5y1wd48vpcx";
};
patches = [./pyparsing-fix.patch ./local_config.patch];
sandbox = true;
meta = {
homepage = https://www.sasview.org;
description = "Fitting and data analysis for small angle scattering data";
maintainers = with lib.maintainers; [ rprospero ];
license = lib.licenses.bsd3;
};
}