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

This commit is contained in:
Gaétan Lepage 2024-09-15 14:32:57 +02:00 committed by GitHub
commit a8a89cb175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,13 @@
{
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 ];
};
}