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