python313Packages.aiotractive: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user