python311Packages.pytile: 2023.08.0 -> 2023.10.0
Diff: bachya/pytile@refs/tags/2023.08.0...2023.10.0 Changelog: https://github.com/bachya/pytile/releases/tag/2023.10.0
This commit is contained in:
parent
0ccfba07f2
commit
a3b2f39349
1 changed files with 9 additions and 19 deletions
|
@ -2,49 +2,38 @@
|
|||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytile";
|
||||
version = "2023.08.0";
|
||||
version = "2023.10.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
repo = "pytile";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wPtGofli3ZKBcAwjwjCbeYnLaSZ5lLshlBSz1/WlAcg=";
|
||||
hash = "sha256-L1Ovpxn7Y+reK8YcVBPwoRjKxcyByrPGz5i/csGzKfE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This patch removes references to setuptools and wheel that are no longer
|
||||
# necessary and changes poetry to poetry-core, so that we don't need to add
|
||||
# unnecessary nativeBuildInputs.
|
||||
#
|
||||
# https://github.com/bachya/pytile/pull/286
|
||||
#
|
||||
(fetchpatch {
|
||||
name = "clean-up-build-dependencies.patch";
|
||||
url = "https://github.com/bachya/pytile/commit/bdb5d96ba9d640bf85a1ae9c3787704dbc2ced23.patch";
|
||||
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
certifi
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -72,6 +61,7 @@ buildPythonPackage rec {
|
|||
Bluetooth trackers (including last location and more).
|
||||
'';
|
||||
homepage = "https://github.com/bachya/pytile";
|
||||
changelog = "https://github.com/bachya/pytile/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue