Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.obspy: 1.2.2 -> 1.4.1

Diff: https://github.com/obspy/obspy/compare/1.2.2...1.4.1

Changelog: https://github.com/obspy/obspy/releases/tag/1.4.1

+22 -13
+22 -13
pkgs/development/python-modules/obspy/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 + 6 + # build-system 7 + setuptools, 8 + 9 + # dependencies 5 10 decorator, 6 - future, 7 11 lxml, 8 12 matplotlib, 9 13 numpy, ··· 14 18 15 19 buildPythonPackage rec { 16 20 pname = "obspy"; 17 - version = "1.2.2"; 18 - format = "setuptools"; 21 + version = "1.4.1"; 22 + pyproject = true; 19 23 20 - src = fetchPypi { 21 - inherit pname version; 22 - extension = "zip"; 23 - sha256 = "a0f2b0915beeb597762563fa0358aa1b4d6b09ffda49909c760b5cdf5bdc419e"; 24 + src = fetchFromGitHub { 25 + owner = "obspy"; 26 + repo = "obspy"; 27 + rev = "refs/tags/${version}"; 28 + hash = "sha256-Y833OWWBDYduyky0+MRbPoBtATTytak87hgh68QAgfw="; 24 29 }; 25 30 26 - propagatedBuildInputs = [ 31 + build-system = [ setuptools ]; 32 + 33 + pythonRelaxDeps = [ "sqlalchemy" ]; 34 + 35 + dependencies = [ 27 36 decorator 28 - future 29 37 lxml 30 38 matplotlib 31 39 numpy ··· 39 47 40 48 pythonImportsCheck = [ "obspy" ]; 41 49 42 - meta = with lib; { 50 + meta = { 43 51 description = "Python framework for seismological observatories"; 44 52 homepage = "https://www.obspy.org"; 45 - license = licenses.lgpl3; 46 - maintainers = [ maintainers.ametrine ]; 53 + changelog = "https://github.com/obspy/obspy/releases/tag/${version}"; 54 + license = lib.licenses.lgpl3Only; 55 + maintainers = [ lib.maintainers.ametrine ]; 47 56 }; 48 57 }