1{ lib
2, buildPythonPackage
3, fetchPypi
4, decorator
5, future
6, lxml
7, matplotlib
8, numpy
9, requests
10, scipy
11, sqlalchemy
12}:
13
14buildPythonPackage rec {
15 pname = "obspy";
16 version = "1.2.2";
17
18 src = fetchPypi {
19 inherit pname version;
20 extension = "zip";
21 sha256 = "a0f2b0915beeb597762563fa0358aa1b4d6b09ffda49909c760b5cdf5bdc419e";
22 };
23
24 propagatedBuildInputs = [
25 decorator
26 future
27 lxml
28 matplotlib
29 numpy
30 requests
31 scipy
32 sqlalchemy
33 ];
34
35 # Tests require Internet access.
36 doCheck = false;
37
38 pythonImportsCheck = [ "obspy" ];
39
40 meta = with lib; {
41 description = "Python framework for seismological observatories";
42 homepage = "https://www.obspy.org";
43 license = licenses.lgpl3;
44 maintainers = [ maintainers.ametrine ];
45 };
46}