Merge pull request #251428 from fabaff/aioaseko-bump
python311Packages.aioaseko: 0.0.2 -> 0.1.0
This commit is contained in:
commit
1a8113c2ac
|
@ -2,13 +2,15 @@
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
|
, pyjwt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioaseko";
|
pname = "aioaseko";
|
||||||
version = "0.0.2";
|
version = "0.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -16,16 +18,26 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "milanmeu";
|
owner = "milanmeu";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-nJRVNBYfBcLYnBsTpQZYMHYWh0+hQObVKJ7sOXFwDjc=";
|
hash = "sha256-RgIwA5/W7qtgI9ZTF4oDPuzSc+r04ZV3JOaNNFjS0pU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Remove time, https://github.com/milanmeu/aioaseko/pull/6
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-time.patch";
|
||||||
|
url = "https://github.com/milanmeu/aioaseko/commit/07d7ca43a2edd060e95a64737f072d98ba938484.patch";
|
||||||
|
hash = "sha256-67QaqSy5mGY/22jWHOkymr0pFoiizVQAXlrqXRb3tG0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
pyjwt
|
||||||
];
|
];
|
||||||
|
|
||||||
# Module has no tests
|
# Module has no tests
|
||||||
|
@ -38,6 +50,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Module to interact with the Aseko Pool Live API";
|
description = "Module to interact with the Aseko Pool Live API";
|
||||||
homepage = "https://github.com/milanmeu/aioaseko";
|
homepage = "https://github.com/milanmeu/aioaseko";
|
||||||
|
changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
|
||||||
license = with licenses; [ lgpl3Plus ];
|
license = with licenses; [ lgpl3Plus ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue