Commit 9a81fd65 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.georss-ign-sismologia-client: modernize

parent f4eea1d8
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
  fetchFromGitHub,
  georss-client,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

@@ -14,8 +13,6 @@ buildPythonPackage rec {
  version = "0.8";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "exxamalte";
    repo = "python-georss-ign-sismologia-client";
@@ -23,9 +20,9 @@ buildPythonPackage rec {
    hash = "sha256-geIxF4GumxRoetJ6mIZCzI3pAvWjJJoY66aQYd2Mzik=";
  };

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    dateparser
    georss-client
  ];
@@ -34,11 +31,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "georss_ign_sismologia_client" ];

  meta = with lib; {
  meta = {
    description = "Python library for accessing the IGN Sismologia GeoRSS feed";
    homepage = "https://github.com/exxamalte/python-georss-ign-sismologia-client";
    changelog = "https://github.com/exxamalte/python-georss-ign-sismologia-client/blob/v0.6/CHANGELOG.md";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
    changelog = "https://github.com/exxamalte/python-georss-ign-sismologia-client/blob/${src.tag}/CHANGELOG.md";
    license = with lib.licenses; [ asl20 ];
    maintainers = with lib.maintainers; [ fab ];
  };
}