Commit b6d6c86b authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.adax-local: modernize

parent c40cf4b3
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -5,15 +5,13 @@
  buildPythonPackage,
  fetchFromGitHub,
  async-timeout,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "adax-local";
  version = "0.2.0";
  format = "setuptools";

  disabled = pythonOlder "3.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Danielhiversen";
@@ -22,7 +20,9 @@ buildPythonPackage rec {
    hash = "sha256-HdhatjlN4oUzBV1cf/PfgOJbEks4KBdw4vH8Y/z6efQ=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    bleak
    async-timeout
@@ -36,7 +36,8 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Module for local access to Adax";
    homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
    license = with licenses; [ mit ];
    changelog = "https://github.com/Danielhiversen/pyAdaxLocal/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}