Unverified Commit 98ac700a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.aiotractive: modernize

parent 6e4197d5
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  setuptools,
  yarl,
}:
@@ -13,8 +12,6 @@ buildPythonPackage rec {
  version = "0.7.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "zhulik";
    repo = "aiotractive";
@@ -22,9 +19,9 @@ buildPythonPackage rec {
    hash = "sha256-tdeRl3fY+OPlLnh/KixdKSy6WLIH/qQR3icoUkKGeGo=";
  };

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

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    yarl
  ];
@@ -35,9 +32,9 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "aiotractive" ];

  meta = {
    changelog = "https://github.com/zhulik/aiotractive/releases/tag/v${version}";
    description = "Python client for the Tractive REST API";
    homepage = "https://github.com/zhulik/aiotractive";
    changelog = "https://github.com/zhulik/aiotractive/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };