hoarder: 0.21.0 -> 0.22.0
[NixPkgs.git] / pkgs / development / python-modules / obspy / default.nix
blob2d5e26cc879034590f477eac20853b25e94bb7b1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   decorator,
11   lxml,
12   matplotlib,
13   numpy,
14   requests,
15   scipy,
16   sqlalchemy,
19 buildPythonPackage rec {
20   pname = "obspy";
21   version = "1.4.1";
22   pyproject = true;
24   src = fetchFromGitHub {
25     owner = "obspy";
26     repo = "obspy";
27     tag = version;
28     hash = "sha256-Y833OWWBDYduyky0+MRbPoBtATTytak87hgh68QAgfw=";
29   };
31   build-system = [ setuptools ];
33   pythonRelaxDeps = [ "sqlalchemy" ];
35   dependencies = [
36     decorator
37     lxml
38     matplotlib
39     numpy
40     requests
41     scipy
42     sqlalchemy
43   ];
45   # Tests require Internet access.
46   doCheck = false;
48   pythonImportsCheck = [ "obspy" ];
50   meta = {
51     description = "Python framework for seismological observatories";
52     homepage = "https://www.obspy.org";
53     changelog = "https://github.com/obspy/obspy/releases/tag/${version}";
54     license = lib.licenses.lgpl3Only;
55     maintainers = [ lib.maintainers.ametrine ];
56   };