Unverified Commit a8a89cb1 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.obspy: 1.2.2 -> 1.4.1 (#341905)

parents d3a722f3 7294205a
Loading
Loading
Loading
Loading
+22 −13
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  decorator,
  future,
  lxml,
  matplotlib,
  numpy,
@@ -14,18 +18,22 @@

buildPythonPackage rec {
  pname = "obspy";
  version = "1.2.2";
  format = "setuptools";
  version = "1.4.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "a0f2b0915beeb597762563fa0358aa1b4d6b09ffda49909c760b5cdf5bdc419e";
  src = fetchFromGitHub {
    owner = "obspy";
    repo = "obspy";
    rev = "refs/tags/${version}";
    hash = "sha256-Y833OWWBDYduyky0+MRbPoBtATTytak87hgh68QAgfw=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  pythonRelaxDeps = [ "sqlalchemy" ];

  dependencies = [
    decorator
    future
    lxml
    matplotlib
    numpy
@@ -39,10 +47,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "obspy" ];

  meta = with lib; {
  meta = {
    description = "Python framework for seismological observatories";
    homepage = "https://www.obspy.org";
    license = licenses.lgpl3;
    maintainers = [ maintainers.ametrine ];
    changelog = "https://github.com/obspy/obspy/releases/tag/${version}";
    license = lib.licenses.lgpl3Only;
    maintainers = [ lib.maintainers.ametrine ];
  };
}